aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/root.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/root.c')
-rw-r--r--sway/tree/root.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/tree/root.c b/sway/tree/root.c
index e9cea5e2..20fcfa59 100644
--- a/sway/tree/root.c
+++ b/sway/tree/root.c
@@ -1,4 +1,3 @@
1#define _POSIX_C_SOURCE 200809L
2#include <stdbool.h> 1#include <stdbool.h>
3#include <stdlib.h> 2#include <stdlib.h>
4#include <string.h> 3#include <string.h>
@@ -54,7 +53,7 @@ struct sway_root *root_create(struct wl_display *wl_display) {
54 root->layers.shell_top = alloc_scene_tree(root->layer_tree, &failed); 53 root->layers.shell_top = alloc_scene_tree(root->layer_tree, &failed);
55 root->layers.fullscreen = alloc_scene_tree(root->layer_tree, &failed); 54 root->layers.fullscreen = alloc_scene_tree(root->layer_tree, &failed);
56 root->layers.fullscreen_global = alloc_scene_tree(root->layer_tree, &failed); 55 root->layers.fullscreen_global = alloc_scene_tree(root->layer_tree, &failed);
57#if HAVE_XWAYLAND 56#if WLR_HAS_XWAYLAND
58 root->layers.unmanaged = alloc_scene_tree(root->layer_tree, &failed); 57 root->layers.unmanaged = alloc_scene_tree(root->layer_tree, &failed);
59#endif 58#endif
60 root->layers.shell_overlay = alloc_scene_tree(root->layer_tree, &failed); 59 root->layers.shell_overlay = alloc_scene_tree(root->layer_tree, &failed);