mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-05-06 03:28:07 +02:00
xdg-shell/toplevel: Clarify xdg_toplevel.set_parent(null)
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 <jadahl@gmail.com> Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
This commit is contained in:
parent
43a09b1577
commit
4fd4d23481
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
</description>
|
||||
<arg name="parent" type="object" interface="xdg_toplevel" allow-null="true"/>
|
||||
</request>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue