From: Dana Jansens Date: Tue, 20 May 2003 05:02:24 +0000 (+0000) Subject: ignore errors when playing with application defined colormaps X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=32390c6b6dceeb72e4e4ceb0e79ba4d8c8ede9a3;p=chaz%2Fopenbox ignore errors when playing with application defined colormaps --- diff --git a/openbox/screen.c b/openbox/screen.c index 044098fc..5e3b36e2 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -487,10 +487,12 @@ void screen_install_colormap(Client *client, gboolean install) } 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); } } }