diff options
author | 2018-07-25 12:17:10 +0200 | |
---|---|---|
committer | 2018-07-25 12:17:10 +0200 | |
commit | 79a45d4a4049e3b9235915cd308ed2995623f833 (patch) | |
tree | 11c0f4b2eb4338b6ace9f519cc21328d68918b8e /include/sway | |
parent | style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false (diff) | |
download | sway-79a45d4a4049e3b9235915cd308ed2995623f833.tar.gz sway-79a45d4a4049e3b9235915cd308ed2995623f833.tar.zst sway-79a45d4a4049e3b9235915cd308ed2995623f833.zip |
more style fixes, included "sway/config.h" where needed
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/server.h | 1 | ||||
-rw-r--r-- | include/sway/xwayland.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index b6a6bde3..a3782f91 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <wlr/render/wlr_renderer.h> | 12 | #include <wlr/render/wlr_renderer.h> |
13 | // TODO WLR: make Xwayland optional | 13 | // TODO WLR: make Xwayland optional |
14 | #include "list.h" | 14 | #include "list.h" |
15 | #include "config.h" | ||
15 | #ifdef HAVE_XWAYLAND | 16 | #ifdef HAVE_XWAYLAND |
16 | #include "sway/xwayland.h" | 17 | #include "sway/xwayland.h" |
17 | #endif | 18 | #endif |
diff --git a/include/sway/xwayland.h b/include/sway/xwayland.h index e6572ae9..78d1053b 100644 --- a/include/sway/xwayland.h +++ b/include/sway/xwayland.h | |||
@@ -1,4 +1,3 @@ | |||
1 | #ifdef HAVE_XWAYLAND | ||
2 | #ifndef SWAY_XWAYLAND_H | 1 | #ifndef SWAY_XWAYLAND_H |
3 | #define SWAY_XWAYLAND_H | 2 | #define SWAY_XWAYLAND_H |
4 | 3 | ||
@@ -24,4 +23,3 @@ struct sway_xwayland { | |||
24 | void handle_xwayland_ready(struct wl_listener *listener, void *data); | 23 | void handle_xwayland_ready(struct wl_listener *listener, void *data); |
25 | 24 | ||
26 | #endif | 25 | #endif |
27 | #endif | ||