defn vars at the top of funcs
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
openbox/screen.c
→
openbox/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)