aboutsummaryrefslogtreecommitdiff
path: root/include/sway/xwayland.h
diff options
context:
space:
mode:
authorPascal Pascher <aur@clouddrop.de>2018-07-24 22:16:06 +0200
committerPascal Pascher <aur@clouddrop.de>2018-07-24 22:16:06 +0200
commit24ad1c3983192b47345566fd876e26b45160d68e (patch)
treeb617f8d15cb20897b1c016fb67fab80d7245c66a /include/sway/xwayland.h
parent817d37c95032946a2e508fcc33cfa5c7ed65cc0d (diff)
Added meson option "enable_xwayland" (default: true) to enable/disable xwayland support
Diffstat (limited to 'include/sway/xwayland.h')
-rw-r--r--include/sway/xwayland.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/xwayland.h b/include/sway/xwayland.h
index 78d1053b..e6572ae9 100644
--- a/include/sway/xwayland.h
+++ b/include/sway/xwayland.h
@@ -1,3 +1,4 @@
+#ifdef HAVE_XWAYLAND
#ifndef SWAY_XWAYLAND_H
#define SWAY_XWAYLAND_H
@@ -23,3 +24,4 @@ struct sway_xwayland {
void handle_xwayland_ready(struct wl_listener *listener, void *data);
#endif
+#endif