diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-02-22 13:43:28 +0000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-02-23 08:20:16 +1000 |
commit | b636893137da1695e235e3a9354bfd9243fdddc2 (patch) | |
tree | d96911ae20095f81ae61b21fead14ac115e6bd6b /Xi/xiwarppointer.c | |
parent | 649269d40667cfb387cb5286dd3519dd68f7dd80 (diff) |
Input: Don't freeze unrelated devices in DeliverGrabbedEvent
When delivering an event to a device grabbed with SyncBoth,
DeliverGrabbedEvent walks the device tree looking for associated devices
to freeze them. Unfortunately, it froze all devices instead of just the
paired device, and the previous fix in 4fbadc8b17237f3c would still break
if the same client had a non-SyncBoth grab on another unrelated master
device.
Fix this by completely ignoring devices that aren't our paired device.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xiwarppointer.c')
0 files changed, 0 insertions, 0 deletions