summaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorPascal Pascher <[email protected]>2018-07-24 23:37:41 +0200
committerPascal Pascher <[email protected]>2018-07-24 23:37:41 +0200
commit2bf893248a94c7f70a9557aad4a8228731041eeb (patch)
treeec86137e1b5881151b20917f311ecce3d24fba8f /sway/desktop/xwayland.c
parent24ad1c3983192b47345566fd876e26b45160d68e (diff)
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index d940d47b..65d4fcd4 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -1,5 +1,4 @@
#define _POSIX_C_SOURCE 199309L
-#ifdef HAVE_XWAYLAND
#include <stdbool.h>
#include <stdlib.h>
#include <wayland-server.h>
@@ -592,4 +591,3 @@ void handle_xwayland_ready(struct wl_listener *listener, void *data) {
xcb_disconnect(xcb_conn);
}
-#endif