projects
/
manmower
/
cgl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e24cc
)
using a window's damage (incl. freeing it) can cause a BadDamage error if the window...
author
Dana Jansens
<danakj@orodu.net>
Thu, 10 Jun 2010 15:20:29 +0000
(11:20 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 26 Jun 2010 23:30:47 +0000
(
01:30
+0200)
openbox/window.c
patch
|
blob
|
history
diff --git
a/openbox/window.c
b/openbox/window.c
index
b139af5
..
6c8ff1d
100644
(file)
--- a/
openbox/window.c
+++ b/
openbox/window.c
@@
-94,8
+94,11
@@
void window_free(ObWindow *self)
#ifdef USE_COMPOSITING
if (self->type != OB_WINDOW_CLASS_PROMPT) {
- if (self->damage)
+ if (self->damage) {
+ obt_display_ignore_errors(TRUE);
XDamageDestroy(obt_display, self->damage);
+ obt_display_ignore_errors(FALSE);
+ }
if (self->gpixmap)
glXDestroyPixmap(obt_display, self->gpixmap);
if (self->pixmap)