From: Dana Jansens Date: Thu, 25 Sep 2003 05:23:08 +0000 (+0000) Subject: indenting X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=417bcd67ac051f13d6d66874d5cc997b47acd319;p=chaz%2Fopenbox indenting --- diff --git a/openbox/screen.c b/openbox/screen.c index 2cb3cd84..c7127214 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -864,15 +864,15 @@ void screen_install_colormap(ObClient *client, gboolean install) else XUninstallColormap(RrDisplay(ob_rr_inst), RrColormap(ob_rr_inst)); } else { - if (XGetWindowAttributes(ob_display, client->window, &wa) && + if (XGetWindowAttributes(ob_display, client->window, &wa) && wa.colormap != None) { xerror_set_ignore(TRUE); - if (install) - XInstallColormap(RrDisplay(ob_rr_inst), wa.colormap); - else - XUninstallColormap(RrDisplay(ob_rr_inst), wa.colormap); + if (install) + XInstallColormap(RrDisplay(ob_rr_inst), wa.colormap); + else + XUninstallColormap(RrDisplay(ob_rr_inst), wa.colormap); xerror_set_ignore(FALSE); - } + } } }