mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
docs: Add details about grabs
Mention implicit grabs, (lack of) explicit grabs, and popup windows.
This commit is contained in:
parent
a4d2b00ae2
commit
29ddfdd0df
1 changed files with 8 additions and 0 deletions
|
|
@ -232,6 +232,14 @@
|
||||||
focus. Seats are global objects. Pointer events are delivered
|
focus. Seats are global objects. Pointer events are delivered
|
||||||
in surface local coordinates.
|
in surface local coordinates.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
The compositor maintains an implicit grab when a button is
|
||||||
|
pressed, to ensure that the corresponding button release
|
||||||
|
event gets delivered to the same surface. But there is no way
|
||||||
|
for clients to take an explicit grab. Instead, surfaces can
|
||||||
|
be mapped as 'popup', which combines transient window semantics
|
||||||
|
with a pointer grab.
|
||||||
|
</para>
|
||||||
<para>
|
<para>
|
||||||
See <xref linkend="protocol-spec-interface-wl_seat"/> for the
|
See <xref linkend="protocol-spec-interface-wl_seat"/> for the
|
||||||
protocol description.
|
protocol description.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue