mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-23 05:35:51 -04:00
Merge branch 'work/pointer-leave' into 'main'
protocol: define that wl_pointer.leave means buttons are no longer pressed See merge request wayland/wayland!519
This commit is contained in:
commit
cee4ff3df1
1 changed files with 5 additions and 0 deletions
|
|
@ -2196,6 +2196,11 @@
|
|||
<description summary="leave event">
|
||||
Notification that this seat's pointer is no longer focused on
|
||||
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
|
||||
for the new focus.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue