diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-10-30 12:44:08 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-09 12:33:36 +1000 |
commit | f59499b5d05fde83813709e9848152951592120d (patch) | |
tree | 40e847c4aeef9d58c0d71a7c8ab78bbf7a1ad72a /include/input.h | |
parent | 9ad0fdb135a1c336771aee1f6eab75a6ad874aff (diff) |
dix: add resource type to touch listeners
Instead of guessing what resource type the listener is and what property to
retrieve, store the resource type in the listener directly.
Breaks XIT test cases:
TouchGrabTestMultipleTaps.PassiveGrabPointerEmulationMultipleTouchesFastSuccession
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56557
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Chase Douglas <chase.douglas@ubuntu.com>
Diffstat (limited to 'include/input.h')
-rw-r--r-- | include/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input.h b/include/input.h index 79739e274..f53ed9905 100644 --- a/include/input.h +++ b/include/input.h @@ -565,7 +565,7 @@ extern void TouchEventHistoryPush(TouchPointInfoPtr ti, const DeviceEvent *ev); extern void TouchEventHistoryReplay(TouchPointInfoPtr ti, DeviceIntPtr dev, XID resource); extern Bool TouchResourceIsOwner(TouchPointInfoPtr ti, XID resource); -extern void TouchAddListener(TouchPointInfoPtr ti, XID resource, +extern void TouchAddListener(TouchPointInfoPtr ti, XID resource, int resource_type, enum InputLevel level, enum TouchListenerType type, enum TouchListenerState state, WindowPtr window, GrabPtr grab); extern Bool TouchRemoveListener(TouchPointInfoPtr ti, XID resource); |