diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-20 05:02:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-20 05:02:24 +0000 |
| commit | 32390c6b6dceeb72e4e4ceb0e79ba4d8c8ede9a3 (patch) | |
| tree | 6577ce7cd783829001c9ebe91fa7d911e7a1db3e /openbox | |
| parent | ea6d0e0d4d31d0d810fa752d04b702b3b599e3df (diff) | |
ignore errors when playing with application defined colormaps
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } } |
