summaryrefslogtreecommitdiff
path: root/src/wayland/meta-wayland.h
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2022-06-01 10:35:29 +0200
committerBilal Elmoussaoui <belmouss@redhat.com>2023-03-28 11:24:03 +0200
commit891f322d25ed317050ea9d8aac781cca54bd6470 (patch)
tree5a85d2e8e068c1a4b966d11ffee508932844343d /src/wayland/meta-wayland.h
parent8e510d013760790688e9b6b2186d70d0d41f586f (diff)
downloadmutter-891f322d25ed317050ea9d8aac781cca54bd6470.tar.gz
wayland: Guard XWayland types
Diffstat (limited to 'src/wayland/meta-wayland.h')
-rw-r--r--src/wayland/meta-wayland.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wayland/meta-wayland.h b/src/wayland/meta-wayland.h
index e0e5c9251..f842d6f18 100644
--- a/src/wayland/meta-wayland.h
+++ b/src/wayland/meta-wayland.h
@@ -72,10 +72,12 @@ GQueue *meta_wayland_compositor_get_committed_transactions (Meta
META_EXPORT_TEST
const char *meta_wayland_get_wayland_display_name (MetaWaylandCompositor *compositor);
+#ifdef HAVE_XWAYLAND
META_EXPORT_TEST
const char *meta_wayland_get_public_xwayland_display_name (MetaWaylandCompositor *compositor);
const char *meta_wayland_get_private_xwayland_display_name (MetaWaylandCompositor *compositor);
+#endif
void meta_wayland_compositor_restore_shortcuts (MetaWaylandCompositor *compositor,
ClutterInputDevice *source);
@@ -94,8 +96,10 @@ void meta_wayland_compositor_notify_surface_id (MetaWaylandCo
int id,
MetaWaylandSurface *surface);
+#ifdef HAVE_XWAYLAND
META_EXPORT_TEST
MetaXWaylandManager * meta_wayland_compositor_get_xwayland_manager (MetaWaylandCompositor *compositor);
+#endif
#endif