aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-06 11:49:27 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-06 11:49:27 -0400
commit603e0e42c577026f1c688c393989e65dc3482808 (patch)
tree7e2635f8745ed6141f900359eeff9b8d9f418cea /include/sway/tree
parenta06052ad9da8f5e03b17aa791be49189f21b7a4f (diff)
downloadsway-603e0e42c577026f1c688c393989e65dc3482808.tar.xz
Add debug tree view
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/layout.h4
1 files changed, 3 insertions, 1 deletions
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 @@
#ifndef _SWAY_LAYOUT_H
#define _SWAY_LAYOUT_H
-
#include <wlr/types/wlr_output_layout.h>
+#include <wlr/render/wlr_texture.h>
#include "sway/tree/container.h"
enum movement_direction {
@@ -29,6 +29,8 @@ struct sway_root {
struct wl_list xwayland_unmanaged; // sway_xwayland_unmanaged::link
+ struct wlr_texture *debug_tree;
+
struct {
struct wl_signal new_container;
} events;