diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-09-07 18:30:23 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-04 13:24:44 +1000 |
commit | 314776eb369ca2e438907795ae030dd743c281fc (patch) | |
tree | b49f20741df1117dd9dba53a045aace827a9e3ef /Xi/getselev.c | |
parent | 3e6358ee6c33979329b78fe2097a1fdf76fb69cd (diff) |
Touch: Fix duplicate TouchBegin selection with virtual devices
Given the following scenario:
1) client A selects for TouchBegin on window W for device D
2) client B selects for TouchBegin on window W for XIAllDevices
3) client C selects for TouchBegin on window W with device E
Step 3 will fail with BadImplementation, because attempting to look up
XIAllDevices or XIAllMasterDevices with dixLookupDevices doesn't work.
This should succeed (or, if it was selecting for device D, fail with
BadAccess as it would be a duplicate selection).
Fix this by performing the appropriate lookup for virtual devices.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Cc: Chase Douglas <chase.douglas@ubuntu.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/getselev.c')
0 files changed, 0 insertions, 0 deletions