diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-04-10 17:12:42 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-04-16 11:30:02 +1000 |
commit | 32ece7c09bf0ebc3d99b4078aacebbd44314776a (patch) | |
tree | d5d0a2623e367cc589c3f0bc5346bd6a3cdb280a /dix/dispatch.c | |
parent | 163b0f375d73c05873fb341652de3ed347337828 (diff) |
Ensure sequential touches are pointer emulated sequentially
Issue:
* Two sequential touches (i.e. down, up, down, up)
* Both are grabbed by a touch grab
* Both have a second listener in the form of a pointer grab or selection
* The second and first touches are rejected in that order
The first touch must be pointer emulated before the second touch, so the
second touch must be paused until the first touch is rejected or
accepted and all events are delivered to pointer clients.
This change ensures all pointer emulated events are emitted
sequentially. It necessarily imposes a delay on further touch events
when pointer grabs and selections are used, but there is no way around
it.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/dispatch.c')
0 files changed, 0 insertions, 0 deletions