mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-03 07:15:42 -04:00
Merge branch 'work/implicit-pointer-grab' into 'main'
protocol: define implicit pointer grabs See merge request wayland/wayland!520
This commit is contained in:
commit
7afc3c50d4
1 changed files with 7 additions and 0 deletions
|
|
@ -2240,6 +2240,13 @@
|
||||||
kernel's event code list. All other button codes above 0xFFFF are
|
kernel's event code list. All other button codes above 0xFFFF are
|
||||||
currently undefined but may be used in future versions of this
|
currently undefined but may be used in future versions of this
|
||||||
protocol.
|
protocol.
|
||||||
|
|
||||||
|
When a button is pressed, an implicit pointer grab is started.
|
||||||
|
While the implicit grab is active, the compositor should keep pointer
|
||||||
|
focus on surfaces of the same surface tree, which consists of
|
||||||
|
subsurfaces and popups on the same root surface.
|
||||||
|
The implicit grab stops being active if either all buttons are released,
|
||||||
|
or the compositor decides to take pointer focus away from the surface tree.
|
||||||
</description>
|
</description>
|
||||||
<arg name="serial" type="uint" summary="serial number of the button event"/>
|
<arg name="serial" type="uint" summary="serial number of the button event"/>
|
||||||
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
<arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue