ignore errors when playing with application defined colormaps
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
openbox/screen.c
→
openbox/screen.c
@@ -487,10 +487,12 @@ XUninstallColormap(ob_display, render_colormap);
} else { if (XGetWindowAttributes(ob_display, client->window, &wa) && wa.colormap != None) { + xerror_set_ignore(TRUE); if (install) XInstallColormap(ob_display, wa.colormap); else XUninstallColormap(ob_display, wa.colormap); + xerror_set_ignore(FALSE); } } }