diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-23 18:03:09 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-03 09:43:39 +1000 |
commit | 9611be0a5bc7f4d583d49d51a0e98d3b9b75fc7a (patch) | |
tree | 7e90e8b8f7578b1e48ec313d2b1692db10517d35 /specs/XI2proto.txt | |
parent | b9f1b26f076cdba373e8b7a0b73384b35e8d799c (diff) |
specs: Clarify rejection for touch events on current owner
The current owner never gets a TouchUpdate(PendingEnd), that event is
superfluous for the owner. The owner receives a TouchEnd when the touch
physically ends. If the touch is still active, the owner receives a
TouchEnd after rejecting the touch.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'specs/XI2proto.txt')
-rw-r--r-- | specs/XI2proto.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt index 0455ed3..2f03b50 100644 --- a/specs/XI2proto.txt +++ b/specs/XI2proto.txt @@ -366,11 +366,16 @@ TouchEnd events, and the touch sequence is exclusively delivered to the owner from that point on. If the touch sequence physically ends while the owner of the touch sequence -has not yet accepted or rejected ownership, all clients receive a -TouchUpdate event with the TouchPendingEnd flag set. The owner must still -accept or reject the sequence nonetheless. If the owner rejects the touch -sequence, the server will still attempt to exhaust all other passive grabs -and/or event selections looking for a final owner. +has not yet accepted or rejected ownership, the owner receives a TouchEnd +event and all other clients receive a TouchUpdate event with the +TouchPendingEnd flag set. The owner must still accept or reject the sequence +nonetheless. If the owner rejects the touch sequence, the server will still +attempt to exhaust all other passive grabs and/or event selections looking +for a final owner. + +If the touch sequence has not physically ended yet and the owner of the +touch sequence rejects, the owner receives a TouchEnd event and ownership is +passed to the next client. Clients may opt for touch events to be delivered before they become the owner of the touch sequence. In this case, the logical state of the device (as |