summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorBilal Elmoussaoui <belmouss@redhat.com>2022-06-13 10:09:26 +0200
committerMarge Bot <marge-bot@gnome.org>2023-01-03 20:45:04 +0000
commit6e818c8c388aaf0fa53e95b40be0bf4d391eb7a7 (patch)
treebbb39cbd152f7e34e0862b381fb9c957cf52e48d /src/core/window.c
parent7eb9797b84ef3e1265d8e1c0fe5df0508ad1a120 (diff)
downloadmutter-6e818c8c388aaf0fa53e95b40be0bf4d391eb7a7.tar.gz
build: Allow disabling xwayland
Mostly moving things around to allow a build without xwayland. Note that more work might still be needed once the x11 build option lands as that would allow us to have a proper xwayland only build without the x server part. Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2272 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2399>
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 5f849b7fb..88ae93a9f 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -94,6 +94,9 @@
#include "wayland/meta-wayland-private.h"
#include "wayland/meta-wayland-surface.h"
#include "wayland/meta-window-wayland.h"
+#endif
+
+#ifdef HAVE_XWAYLAND
#include "wayland/meta-window-xwayland.h"
#endif