Make X11 fully optional

Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
This commit is contained in:
Cedric Sodhi 2018-03-09 15:17:15 +01:00
parent bfc0e95d2c
commit ebdabc2030
5 changed files with 49 additions and 27 deletions

View file

@ -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"