projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa08a61
)
ignore errors when creating a damage for a window (as the window may no longer exist)
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 Jun 2010 17:01:49 +0000
(19:01 +0200)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 26 Jun 2010 23:30:51 +0000
(
01:30
+0200)
it generates a baddrawable error, which is not ignored by default like badwindow
openbox/composite.c
patch
|
blob
|
history
diff --git
a/openbox/composite.c
b/openbox/composite.c
index d8be5bca534621554d503301a319118a4287b16c..ea8fbcae33b1322684379123339b2bda437d6f84 100644
(file)
--- a/
openbox/composite.c
+++ b/
openbox/composite.c
@@
-662,8
+662,10
@@
void composite_window_setup(ObWindow *w)
g_assert(composite_started);
#endif
+ obt_display_ignore_errors(TRUE);
w->damage = XDamageCreate(obt_display, window_top(w),
XDamageReportNonEmpty);
+ obt_display_ignore_errors(FALSE);
glGenTextures(1, &w->texture);
composite_window_redir(w);