From a5efa30f6c73ddb3c8a8601d908b6068a3bc6d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 1 Jul 2016 15:30:21 +0800 Subject: [PATCH] wayland: Call assigned() surface role vfunc when re-assigned This will later be used by xdg-shell to ensure no buffer is attached on assignment. https://bugzilla.gnome.org/show_bug.cgi?id=769936 --- src/wayland/meta-wayland-surface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index e6714914a..1c41e5554 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -280,6 +280,8 @@ meta_wayland_surface_assign_role (MetaWaylandSurface *surface, first_property_name, var_args); va_end (var_args); + meta_wayland_surface_role_assigned (surface->role); + return TRUE; } }