X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=a8f3b71cc8ee3647bb8eedd2414394c68857b04b;hb=8aee387193fd73bbe4a8019bc7e31d5d0e18e83d;hp=7f0c70c96ddc2e915f75dd932c46bca814a45f13;hpb=07c3a31cf5794447d3a5a52086cdeb808d817f3a;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index 7f0c70c9..a8f3b71c 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) {