all repos — openbox @ d33dce48275056fd4492160624d9bc99dd2603c1

openbox fork - make it a bit more like ryudo

defn vars at the top of funcs
Dana Jansens danakj@orodu.net
commit

d33dce48275056fd4492160624d9bc99dd2603c1

parent

cd1694cd1c0b1d5d769a5e9d01dfa41b9a431bb0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/screen.copenbox/screen.c

@@ -423,13 +423,14 @@ }

void screen_install_colormap(Client *client, gboolean install) { + XWindowAttributes wa; + if (client == NULL) { if (install) XInstallColormap(ob_display, render_colormap); else XUninstallColormap(ob_display, render_colormap); } else { - XWindowAttributes wa; if (XGetWindowAttributes(ob_display, client->window, &wa) && wa.colormap != None) { if (install)