diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-25 05:23:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-25 05:23:08 +0000 |
| commit | 417bcd67ac051f13d6d66874d5cc997b47acd319 (patch) | |
| tree | c26c88b1bec7769551bd91c444cde312db89bf32 | |
| parent | a3710c960115562bf436442d7e58feb887f744cb (diff) | |
indenting
| -rw-r--r-- | openbox/screen.c | 12 |
1 files 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); - } + } } } |
