aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorPascal Pascher <pascalpascher@gmx.net>2018-07-25 13:43:21 +0200
committerPascal Pascher <pascalpascher@gmx.net>2018-07-25 13:43:21 +0200
commit384c55c0b465d6b9a9c4cb88d8752435ac5cf708 (patch)
treec5398c9383e2900a6197ef0e1ff0c3969cd3cfbf /sway
parentf95cb9a7c17251c43b1d1058092e0a15d1fe8dd9 (diff)
more style fixes, reorder config.h include
Diffstat (limited to 'sway')
-rw-r--r--sway/criteria.c4
-rw-r--r--sway/tree/view.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sway/criteria.c b/sway/criteria.c
index 48899125..39d300ea 100644
--- a/sway/criteria.c
+++ b/sway/criteria.c
@@ -270,9 +270,9 @@ enum criteria_token {
T_CON_ID,
T_CON_MARK,
T_FLOATING,
- #ifdef HAVE_XWAYLAND
+#ifdef HAVE_XWAYLAND
T_ID,
- #endif
+#endif
T_INSTANCE,
T_SHELL,
T_TILING,
diff --git a/sway/tree/view.c b/sway/tree/view.c
index f672417e..beeb8144 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -3,12 +3,12 @@
#include <wayland-server.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_output_layout.h>
+#include "config.h"
#ifdef HAVE_XWAYLAND
#include <wlr/xwayland.h>
#endif
#include "list.h"
#include "log.h"
-#include "config.h"
#include "sway/criteria.h"
#include "sway/commands.h"
#include "sway/ipc-server.h"