summaryrefslogtreecommitdiff
path: root/dix
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>2012-12-12 17:24:55 +1000
commit146f48c2934fc85ec095496da5c8f0102bc7f5b5 (patch)
tree77a8313be48fec19f8726e9ec3550cf8ef362e00 /dix
parentead21f9426122536adfb4787ac181008ae83cd4b (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>
Diffstat (limited to 'dix')
-rw-r--r--dix/touch.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/touch.c b/dix/touch.c
index 29ba17194..f4a93c684 100644
--- a/dix/touch.c
+++ b/dix/touch.c
@@ -987,8 +987,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;