all repos — openbox @ 0cb6f81276a7e60c322990dfa1027136ef8c9633

openbox fork - make it a bit more like ryudo

dont use the client's colormap if it is set to None!
Dana Jansens danakj@orodu.net
commit

0cb6f81276a7e60c322990dfa1027136ef8c9633

parent

c2cbef62bb5d7e0c3f8c00e95bc885dc1f9ab1da

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

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

@@ -430,7 +430,8 @@ else

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