From e8f7d4ebbd3d85b174e965ad601d806a49238696 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 7 Apr 2020 17:18:18 +0200 Subject: xdg-shell: describe how to re-map an unmapped toplevel Signed-off-by: Simon Ser --- stable/xdg-shell/xdg-shell.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index be64354..b77eee1 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -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. -- cgit v1.2.3