[PATCH wayland-protocols 2/3] xdg-shell: Make get_popup take a xdg_surface instead of wl_surface

Mike Blumenkrantz zmike at samsung.com
Fri Jan 15 18:05:39 PST 2016


On Tue, 12 Jan 2016 16:16:48 +0800
Jonas Ådahl <jadahl at gmail.com> wrote:

> The reason for using wl_surface before was that xdg_popup and
> xdg_surface (now xdg_toplevel) had no common interface other than
> wl_surface, but since xdg_surface is now the base interface, lets use
> that.
> 
> Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> ---
>  unstable/xdg-shell/xdg-shell-unstable-v6.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/unstable/xdg-shell/xdg-shell-unstable-v6.xml b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
> index d1c315e..276d9fc 100644
> --- a/unstable/xdg-shell/xdg-shell-unstable-v6.xml
> +++ b/unstable/xdg-shell/xdg-shell-unstable-v6.xml
> @@ -176,7 +176,7 @@
>  	xdg_popup is and how it is used.
>        </description>
>        <arg name="id" type="new_id" interface="zxdg_popup_v6"/>
> -      <arg name="parent" type="object" interface="wl_surface"/>
> +      <arg name="parent" type="object" interface="zxdg_surface_v6"/>
>        <arg name="seat" type="object" interface="wl_seat" summary="the wl_seat of the user event"/>
>        <arg name="serial" type="uint" summary="the serial of the user event"/>
>        <arg name="x" type="int"/>

Reviewed-by: Mike Blumenkrantz <zmike at osg.samsung.com>


More information about the wayland-devel mailing list