xdg-activation: correct sequence when X11 client spawns Wayland client

The Wayland client requests surface activation directly using the token
that it received from the X11 client.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
This commit is contained in:
Roman Gilg 2021-06-15 13:17:21 +02:00
parent e7183fb762
commit 855786de91

View file

@ -43,12 +43,11 @@ Scenario 2. X11 client spawns Wayland client
4. X11 client spawns Wayland client, sets ``$DESKTOP_STARTUP_ID`` in its
environment.
5. Wayland client starts.
6. Wayland client sets the activation token, as received from
``$DESKTOP_STARTUP_ID``.
6. Wayland client requests surface activation with the activation token,
as received from ``$DESKTOP_STARTUP_ID``.
7. Compositor receives the request, matches ID with the common pool
8. The startup feedback is finished.
9. Wayland client requests surface activation.
10. Compositor applies internal policies to allow/deny focus switch.
9. Compositor applies internal policies to allow/deny focus switch.
Caveats
-------