aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/root.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-11-18 00:33:06 +0100
committerLibravatar emersion <contact@emersion.fr>2018-11-18 00:33:06 +0100
commitcad851805bea6b4777685df1c6adf8cb9fa71835 (patch)
tree145fcb048cc3df3d04a8b6afb90de68dd2dd80a9 /sway/tree/root.c
parentMerge pull request #3142 from RyanDwyer/move-view-properties (diff)
downloadsway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.gz
sway-cad851805bea6b4777685df1c6adf8cb9fa71835.tar.zst
sway-cad851805bea6b4777685df1c6adf8cb9fa71835.zip
Use #if instead of #ifdef
Diffstat (limited to 'sway/tree/root.c')
-rw-r--r--sway/tree/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index 9bda7c28..544d666a 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -31,7 +31,7 @@ struct sway_root *root_create(void) {
31 node_init(&root->node, N_ROOT, root); 31 node_init(&root->node, N_ROOT, root);
32 root->output_layout = wlr_output_layout_create(); 32 root->output_layout = wlr_output_layout_create();
33 wl_list_init(&root->all_outputs); 33 wl_list_init(&root->all_outputs);
34#ifdef HAVE_XWAYLAND 34#if HAVE_XWAYLAND
35 wl_list_init(&root->xwayland_unmanaged); 35 wl_list_init(&root->xwayland_unmanaged);
36#endif 36#endif
37 wl_list_init(&root->drag_icons); 37 wl_list_init(&root->drag_icons);