summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-06-26 11:46:10 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-06-26 11:46:10 +0930
commitd1c93500e2f56b8aefda7133848c21f62572f5d5 (patch)
tree54d8702aea848ec2cb0c1dbb4202f88389d3e5b5
parent40d1cbaaf0fd12883c048288a62b0088286463f4 (diff)
Don't call _xgeCheckExtInit() from _xgeWireToEvent(). It will cause a SIGABRT
when trying to get the display lock.
-rw-r--r--src/Xge.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Xge.c b/src/Xge.c
index bcdd483..ef096b6 100644
--- a/src/Xge.c
+++ b/src/Xge.c
@@ -227,8 +227,12 @@ _xgeWireToEvent(Display* dpy, XEvent* re, xEvent *event)
XExtDisplayInfo* info = _xgeFindDisplay(dpy);
if (!info)
return False;
- if (!_xgeCheckExtInit(dpy, info))
- return False;
+ /*
+ _xgeCheckExtInit() calls LockDisplay, leading to a SIGABRT.
+ Well, I guess we don't need the data we get in CheckExtInit anyway
+ if (!_xgeCheckExtInit(dpy, info))
+ return False;
+ */
extension = ((xGenericEvent*)event)->extension;