aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authorCedric Sodhi <manday@openmail.cc>2018-03-09 15:17:15 +0100
committerCedric Sodhi <manday@openmail.cc>2018-03-09 15:17:15 +0100
commitebdabc203072c855f9e28a679630c8decc6911ff (patch)
tree0477074d6383a27f02ea4d9481ca1bedb03bcbfa /rootston/input.c
parentbfc0e95d2cfeab96d771cb34e78ca92afee4464c (diff)
Make X11 fully optional
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rootston/input.c b/rootston/input.c
index 657b0946..27ad1f6b 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -5,7 +5,9 @@
#include <wlr/types/wlr_cursor.h>
#include <wlr/util/log.h>
#include <wlr/xcursor.h>
-#include <wlr/xwayland.h>
+#ifdef WLR_HAS_XWAYLAND
+# include <wlr/xwayland.h>
+#endif
#include "rootston/config.h"
#include "rootston/input.h"
#include "rootston/keyboard.h"