diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-06-26 11:46:10 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-06-26 11:46:10 +0930 |
commit | d1c93500e2f56b8aefda7133848c21f62572f5d5 (patch) | |
tree | 54d8702aea848ec2cb0c1dbb4202f88389d3e5b5 | |
parent | 40d1cbaaf0fd12883c048288a62b0088286463f4 (diff) |
Don't call _xgeCheckExtInit() from _xgeWireToEvent(). It will cause a SIGABRT
when trying to get the display lock.
-rw-r--r-- | src/Xge.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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; |