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:
13f1f39
)
abort() on X errors that aren't BadWindow errors
author
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 07:24:39 +0000
(07:24 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 07:24:39 +0000
(07:24 +0000)
otk/display.cc
patch
|
blob
|
history
diff --git
a/otk/display.cc
b/otk/display.cc
index 21ffcd5d85442992ec19c8bb7d987631519ffecf..6fc6117cd2e5a72af0a40de1523ff26201c2f642 100644
(file)
--- a/
otk/display.cc
+++ b/
otk/display.cc
@@
-65,6
+65,8
@@
int OBDisplay::xerrorHandler(Display *d, XErrorEvent *e)
{
XGetErrorText(d, e->error_code, errtxt, 128);
printf("X Error: %s\n", errtxt);
+ if (e->error_code != BadWindow)
+ abort();
}
#else
(void)d;