From 417bcd67ac051f13d6d66874d5cc997b47acd319 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 25 Sep 2003 05:23:08 +0000 Subject: [PATCH] indenting --- openbox/screen.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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); - } + } } } -- 2.39.2