Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
xdg-shell: describe how to re-map an unmapped toplevel
Signed-off-by: Simon Ser <contact@emersion.fr>
  • Loading branch information
emersion committed Apr 7, 2020
1 parent b0a25f2 commit e8f7d4e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stable/xdg-shell/xdg-shell.xml
Expand Up @@ -581,7 +581,11 @@
by the compositor until it is explicitly mapped again.
All active operations (e.g., move, resize) are canceled and all
attributes (e.g. title, state, stacking, ...) are discarded for
an xdg_toplevel surface when it is unmapped.
an xdg_toplevel surface when it is unmapped. The xdg_toplevel returns to
the state it had right after xdg_surface.get_toplevel. The client
can re-map the toplevel by perfoming a commit without any buffer
attached, waiting for a configure event and handling it as usual (see
xdg_surface description).

Attaching a null buffer to a toplevel unmaps the surface.
</description>
Expand Down

0 comments on commit e8f7d4e

Please sign in to comment.