mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
wl_shell: Don't require that parent surfaces are wl_shell_surfaces
The set_transient and set_popup requests take a wl_shell_surface as the parent surface argument. We don't need the parent surface to be a shell surface and this restricts the types of surfaces we can use the transient and popup surface types on.
This commit is contained in:
parent
7e71c38b98
commit
ae6f3001a5
1 changed files with 2 additions and 2 deletions
|
|
@ -474,7 +474,7 @@
|
||||||
that relative position during moves.
|
that relative position during moves.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<arg name="parent" type="object" interface="wl_shell_surface"/>
|
<arg name="parent" type="object" interface="wl_surface"/>
|
||||||
<arg name="x" type="int"/>
|
<arg name="x" type="int"/>
|
||||||
<arg name="y" type="int"/>
|
<arg name="y" type="int"/>
|
||||||
<arg name="flags" type="uint"/>
|
<arg name="flags" type="uint"/>
|
||||||
|
|
@ -549,7 +549,7 @@
|
||||||
|
|
||||||
<arg name="seat" type="object" interface="wl_seat"/>
|
<arg name="seat" type="object" interface="wl_seat"/>
|
||||||
<arg name="serial" type="uint"/>
|
<arg name="serial" type="uint"/>
|
||||||
<arg name="parent" type="object" interface="wl_shell_surface"/>
|
<arg name="parent" type="object" interface="wl_surface"/>
|
||||||
<arg name="x" type="int"/>
|
<arg name="x" type="int"/>
|
||||||
<arg name="y" type="int"/>
|
<arg name="y" type="int"/>
|
||||||
<arg name="flags" type="uint"/>
|
<arg name="flags" type="uint"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue