dix: remove already-moved hunk
Should've been removed in bc1f90a615, 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>
This commit is contained in:
@@ -1551,15 +1551,6 @@ DeactivatePointerGrab(DeviceIntPtr mouse)
|
|||||||
ReattachToOldMaster(mouse);
|
ReattachToOldMaster(mouse);
|
||||||
|
|
||||||
ComputeFreezes();
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user