From 4fd4d2348160e1677e420a09b9bac19662817953 Mon Sep 17 00:00:00 2001 From: Jonas Ådahl Date: Wed, 10 May 2017 13:25:18 +0800 Subject: xdg-shell/toplevel: Clarify xdg_toplevel.set_parent(null) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting a null-surface as a toplevel parent should unset the parent-child relationship. This was not specified, so lets do that. Signed-off-by: Jonas Ådahl Signed-off-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stable') diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index c7dd6dd..b119cff 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shell/xdg-shell.xml @@ -547,6 +547,10 @@ Parent windows should be set on dialogs, toolboxes, or other "auxiliary" surfaces, so that the parent is raised when the dialog is raised. + + Setting a null parent for a child window removes any parent-child + relationship for the child. Setting a null parent for a window which + currently has no parent is a no-op. -- cgit v1.2.3