diff options
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/debug.h | 7 | ||||
-rw-r--r-- | include/sway/tree/layout.h | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/include/sway/debug.h b/include/sway/debug.h new file mode 100644 index 00000000..2430d319 --- /dev/null +++ b/include/sway/debug.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef SWAY_DEBUG_H | ||
2 | #define SWAY_DEBUG_H | ||
3 | |||
4 | extern bool enable_debug_tree; | ||
5 | void update_debug_tree(); | ||
6 | |||
7 | #endif | ||
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h index fc5ce21f..49ae00e4 100644 --- a/include/sway/tree/layout.h +++ b/include/sway/tree/layout.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _SWAY_LAYOUT_H | 1 | #ifndef _SWAY_LAYOUT_H |
2 | #define _SWAY_LAYOUT_H | 2 | #define _SWAY_LAYOUT_H |
3 | |||
4 | #include <wlr/types/wlr_output_layout.h> | 3 | #include <wlr/types/wlr_output_layout.h> |
4 | #include <wlr/render/wlr_texture.h> | ||
5 | #include "sway/tree/container.h" | 5 | #include "sway/tree/container.h" |
6 | 6 | ||
7 | enum movement_direction { | 7 | enum movement_direction { |
@@ -29,6 +29,8 @@ struct sway_root { | |||
29 | 29 | ||
30 | struct wl_list xwayland_unmanaged; // sway_xwayland_unmanaged::link | 30 | struct wl_list xwayland_unmanaged; // sway_xwayland_unmanaged::link |
31 | 31 | ||
32 | struct wlr_texture *debug_tree; | ||
33 | |||
32 | struct { | 34 | struct { |
33 | struct wl_signal new_container; | 35 | struct wl_signal new_container; |
34 | } events; | 36 | } events; |