Introduce surface roles and use it to ensure a surface never changes role.
https://bugzilla.gnome.org/show_bug.cgi?id=744452
945bf62 wayland: Introduce MetaWaylandSurfaceRole
src/wayland/meta-wayland-data-device.c | 6 +++++
src/wayland/meta-wayland-pointer.c | 9 +++++++
src/wayland/meta-wayland-surface.c | 45 ++++++++++++++++++++++++++++++++
src/wayland/meta-wayland-surface.h | 17 ++++++++++++
4 files changed, 77 insertions(+)
Upstream: git.gnome.org