indenting
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
6 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -864,15 +864,15 @@ 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) && + 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); - } + } } }