]> Dogcows Code - chaz/openbox/commitdiff
ignore errors when playing with application defined colormaps
authorDana Jansens <danakj@orodu.net>
Tue, 20 May 2003 05:02:24 +0000 (05:02 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 20 May 2003 05:02:24 +0000 (05:02 +0000)
openbox/screen.c

index 044098fc9a5836e30aaa2970a75eaef39fb460df..5e3b36e255bae28af48dc5448ae18133d0dbe938 100644 (file)
@@ -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);
        }
     }
 }
This page took 0.028863 seconds and 4 git commands to generate.