diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-04 12:26:58 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-09 12:33:49 +1000 |
commit | 0e1ab433f4048b3367bb2f01d16cd00502538e4d (patch) | |
tree | 1594c67250710bbd2625be79c42e70865aca86e7 /dix/events.c | |
parent | 32a6d8a6b59c42f8d65002d7ca1cafb1957b656f (diff) |
dix: remove already-moved hunk
Should've been removed in bc1f90a615018c05994fae3e678dd2341256cd82a, but got
left here due to a botched rebase.
Fixes stray button events sent to clients after deactivating an async
pointer grab on a pointer-emulating-touch.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/events.c')
-rw-r--r-- | dix/events.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dix/events.c b/dix/events.c index b742f6787..a46aaf660 100644 --- a/dix/events.c +++ b/dix/events.c @@ -1551,15 +1551,6 @@ DeactivatePointerGrab(DeviceIntPtr mouse) ReattachToOldMaster(mouse); ComputeFreezes(); - - /* If an explicit grab was deactivated, we must remove it from the head of - * all the touches' listener lists. */ - for (i = 0; mouse->touch && i < mouse->touch->num_touches; i++) { - TouchPointInfoPtr ti = mouse->touch->touches + i; - - if (ti->active && TouchResourceIsOwner(ti, grab_resource)) - TouchListenerAcceptReject(mouse, ti, 0, XIRejectTouch); - } } /** |