]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
ignore errors when playing with application defined colormaps
[chaz/openbox] / 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.021153 seconds and 4 git commands to generate.