summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland-surface.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-08-20 16:54:45 +0800
committerJonas Ådahl <jadahl@gmail.com>2015-09-13 21:24:58 +0800
commitdece49b53dcefc59c199850e543eba99a2e5d27a (patch)
treef5c933e2016579e3fc28df92a4b508529ff93384 /src/wayland/meta-wayland-surface.h
parent443d579d402d82ae6b178036266f46576f9e2fbc (diff)
downloadmutter-dece49b53dcefc59c199850e543eba99a2e5d27a.tar.gz
wayland: Introduce XWayland surface role
Being a "XWayland window" should be considered equivalent to a role, even though it is not part of any protocol anywhere. The commit doesn't have any functional difference, but just makes it clear that an wl_surface managed by XWayland have the same type of special casing as surface roles as defined by the Wayland protocol. As the semantics are more explicit given the role is defined, a comment explaining why the semantics need to be how they are was added. https://bugzilla.gnome.org/show_bug.cgi?id=744932
Diffstat (limited to 'src/wayland/meta-wayland-surface.h')
-rw-r--r--src/wayland/meta-wayland-surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland-surface.h b/src/wayland/meta-wayland-surface.h
index 7efb65f42..3ac2834fd 100644
--- a/src/wayland/meta-wayland-surface.h
+++ b/src/wayland/meta-wayland-surface.h
@@ -51,6 +51,7 @@ typedef enum
META_WAYLAND_SURFACE_ROLE_WL_SHELL_SURFACE,
META_WAYLAND_SURFACE_ROLE_CURSOR,
META_WAYLAND_SURFACE_ROLE_DND,
+ META_WAYLAND_SURFACE_ROLE_XWAYLAND,
} MetaWaylandSurfaceRole;
typedef struct