mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-25 06:00:10 +01:00
ext-session-lock: add note on client termination
See https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/262 Signed-off-by: Isaac Freund <mail@isaacfreund.com>
This commit is contained in:
parent
53cd10ae77
commit
b784987ae8
1 changed files with 8 additions and 0 deletions
|
|
@ -187,6 +187,14 @@
|
|||
It is a protocol error to make this request if the locked event has
|
||||
not been sent. In that case, the lock object may only be destroyed
|
||||
using the destroy request.
|
||||
|
||||
Note that a correct client that wishes to exit directly after unlocking
|
||||
the session must use the wl_display.sync request to ensure the server
|
||||
receives and processes the unlock_and_destroy request. Otherwise
|
||||
there is no guarantee that the server has unlocked the session due
|
||||
to the asynchronous nature of the Wayland protocol. For example,
|
||||
the server might terminate the client with a protocol error before
|
||||
it processes the unlock_and_destroy request.
|
||||
</description>
|
||||
</request>
|
||||
</interface>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue