From 32390c6b6dceeb72e4e4ceb0e79ba4d8c8ede9a3 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 20 May 2003 05:02:24 +0000 Subject: [PATCH] ignore errors when playing with application defined colormaps --- openbox/screen.c | 2 ++ 1 file changed, 2 insertions(+) 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); } } } -- 2.44.0