summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-11-22 13:49:34 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-01-21 13:44:59 +1000
commitb72ffcf6ae146feaa08df80e65d293bc3a62331f (patch)
treec4efed7bf9ab36e40b0831b80671be9fe0898587
parentd5142c4e9db6175c5258749acc314833c40ac2fb (diff)
dix: don't call ProcessInputEvents() when accepting/rejecting touches
TouchListenerAcceptReject may be called during normal event processing, but ProcessInputEvents is not reentrant and calling it here smashes the event queue. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 146f48c2934fc85ec095496da5c8f0102bc7f5b5)
-rw-r--r--dix/touch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/touch.c b/dix/touch.c
index 5f77be575..f51f46d8c 100644
--- a/dix/touch.c
+++ b/dix/touch.c
@@ -994,8 +994,6 @@ TouchListenerAcceptReject(DeviceIntPtr dev, TouchPointInfoPtr ti, int listener,
for (i = 0; i < nev; i++)
mieqProcessDeviceEvent(dev, events + i, NULL);
- ProcessInputEvents();
-
FreeEventList(events, GetMaximumEventsNum());
return nev ? Success : BadMatch;