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:
Kristian Høgsberg 2012-06-27 10:30:08 -04:00
parent 7e71c38b98
commit ae6f3001a5

View file

@ -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"/>