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 <[email protected]>
---
 dix/touch.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dix/touch.c b/dix/touch.c
index 9c2b8f3..8db4638 100644
--- a/dix/touch.c
+++ b/dix/touch.c
@@ -988,8 +988,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;
-- 
1.7.11.7

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to