X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fscreen.c;h=628d0344cc176aa34dbc9f5102c60133c1476a90;hb=411cc1d1d9e0c7ad07fe6bce548ccf101a2f4c7a;hp=8a9475adf57d87592bcf029076d788f090688c29;hpb=4e8eff328cf9f99f833ce01997621d3817074ab1;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 8a9475ad..628d0344 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -860,10 +860,10 @@ void screen_install_colormap(ObClient *client, gboolean install) XWindowAttributes wa; if (client == NULL) { - if (install) - XInstallColormap(RrDisplay(ob_rr_inst), RrColormap(ob_rr_inst)); - else - XUninstallColormap(RrDisplay(ob_rr_inst), RrColormap(ob_rr_inst)); + if (install) + XInstallColormap(RrDisplay(ob_rr_inst), RrColormap(ob_rr_inst)); + else + XUninstallColormap(RrDisplay(ob_rr_inst), RrColormap(ob_rr_inst)); } else { if (XGetWindowAttributes(ob_display, client->window, &wa) && wa.colormap != None) {