mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Add debug tree view
This commit is contained in:
parent
a06052ad9d
commit
603e0e42c5
8 changed files with 145 additions and 2 deletions
7
include/sway/debug.h
Normal file
7
include/sway/debug.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef SWAY_DEBUG_H
|
||||
#define SWAY_DEBUG_H
|
||||
|
||||
extern bool enable_debug_tree;
|
||||
void update_debug_tree();
|
||||
|
||||
#endif
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue