mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-23 05:35:51 -04:00
protocol: define that wl_pointer.leave means buttons are no longer pressed
...unless another wl_pointer.enter event is sent in the same wl_pointer.frame. Signed-off-by: Xaver Hugl <xaver.hugl@kde.org>
This commit is contained in:
parent
5231c0ee20
commit
62371dea0f
1 changed files with 5 additions and 0 deletions
|
|
@ -2145,6 +2145,11 @@
|
||||||
<description summary="leave event">
|
<description summary="leave event">
|
||||||
Notification that this seat's pointer is no longer focused on
|
Notification that this seat's pointer is no longer focused on
|
||||||
a certain surface.
|
a certain surface.
|
||||||
|
Unless there is an enter event on another surface in the same frame,
|
||||||
|
the client should assume the button state is reset, in other words
|
||||||
|
that no buttons are pressed.
|
||||||
|
Note that this is different from the buttons being released, the
|
||||||
|
client should avoid triggering actions in response to this.
|
||||||
|
|
||||||
The leave notification is sent before the enter notification
|
The leave notification is sent before the enter notification
|
||||||
for the new focus.
|
for the new focus.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue