diff options
author | Cedric Sodhi <manday@openmail.cc> | 2018-03-09 15:17:15 +0100 |
---|---|---|
committer | Cedric Sodhi <manday@openmail.cc> | 2018-03-09 15:17:15 +0100 |
commit | ebdabc203072c855f9e28a679630c8decc6911ff (patch) | |
tree | 0477074d6383a27f02ea4d9481ca1bedb03bcbfa /rootston/input.c | |
parent | bfc0e95d2cfeab96d771cb34e78ca92afee4464c (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.c | 4 |
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" |