mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-30 22:30:14 +01:00
xdg-activation-v1: clarify set_{serial,surface}
Make it clearer what the requests are used for. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
353ffc65ff
commit
36cee4bdbc
1 changed files with 15 additions and 4 deletions
|
|
@ -120,6 +120,14 @@
|
|||
Provides information about the seat and serial event that requested the
|
||||
token.
|
||||
|
||||
The serial can come from an input or focus event. For instance, if a
|
||||
click triggers the launch of a third-party client, the launcher client
|
||||
should send a set_serial request with the serial and seat from the
|
||||
wl_pointer.button event.
|
||||
|
||||
Some compositors might refuse to activate toplevels when the token
|
||||
doesn't have a valid and recent enough event serial.
|
||||
|
||||
Must be sent before commit. This information is optional.
|
||||
</description>
|
||||
<arg name="serial" type="uint"
|
||||
|
|
@ -140,11 +148,14 @@
|
|||
</request>
|
||||
|
||||
<request name="set_surface">
|
||||
<description summary="specifies the application being activated">
|
||||
The requesting client can specify a surface to associate the token
|
||||
being created with it.
|
||||
<description summary="specifies the surface requesting activation">
|
||||
This request sets the surface requesting the activation. Note, this is
|
||||
different from the surface that will be activated.
|
||||
|
||||
Must be triggered before commit. This information is optional.
|
||||
Some compositors might refuse to activate toplevels when the token
|
||||
doesn't have a requesting surface.
|
||||
|
||||
Must be sent before commit. This information is optional.
|
||||
</description>
|
||||
<arg name="surface" type="object" interface="wl_surface"
|
||||
summary="the requesting surface"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue