diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-27 10:30:08 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-06-27 10:30:08 -0400 |
commit | ae6f3001a51cce102422e4ccbeb394fe90945a12 (patch) | |
tree | e0c9996aab9a948380f1a258b4ed34bf48416181 | |
parent | 7e71c38b98296843b8f3f24efd507e98f1f10c57 (diff) |
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.
-rw-r--r-- | protocol/wayland.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 23b244f..fba5947 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -474,7 +474,7 @@ that relative position during moves. </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="y" type="int"/> <arg name="flags" type="uint"/> @@ -549,7 +549,7 @@ <arg name="seat" type="object" interface="wl_seat"/> <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="y" type="int"/> <arg name="flags" type="uint"/> |