Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2606afe
)
ecere/gui/drivers/XInterface: Hiding X errors in Debug
author
Jerome St-Louis
<jerome@ecere.com>
Sat, 8 Feb 2014 09:34:19 +0000
(16:34 +0700)
committer
Jerome St-Louis
<jerome@ecere.com>
Sun, 9 Feb 2014 03:39:20 +0000
(10:39 +0700)
- BadWindow are being generated from within e.g. XQueryPointer in what looks very much like X server bugs
ecere/src/gui/drivers/XInterface.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gui/drivers/XInterface.ec
b/ecere/src/gui/drivers/XInterface.ec
index
f711250
..
fe35372
100644
(file)
--- a/
ecere/src/gui/drivers/XInterface.ec
+++ b/
ecere/src/gui/drivers/XInterface.ec
@@
-895,7
+895,9
@@
static int MyXErrorHandler(X11Display * display, XErrorEvent * event)
char buffer[1024];
if(xGlobalDisplay)
XGetErrorText(xGlobalDisplay, event->error_code, buffer, sizeof(buffer));
+#ifdef _DEBUG
Logf("X Error: %s\n", buffer);
+#endif
return 0;
}