diff options
Diffstat (limited to 'include/sway/debug.h')
-rw-r--r-- | include/sway/debug.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/sway/debug.h b/include/sway/debug.h deleted file mode 100644 index 0e9bb056..00000000 --- a/include/sway/debug.h +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #ifndef SWAY_DEBUG_H | ||
2 | #define SWAY_DEBUG_H | ||
3 | #include <stdbool.h> | ||
4 | |||
5 | struct sway_debug { | ||
6 | bool noatomic; // Ignore atomic layout updates | ||
7 | bool render_tree; // Render the tree overlay | ||
8 | bool txn_timings; // Log verbose messages about transactions | ||
9 | bool txn_wait; // Always wait for the timeout before applying | ||
10 | |||
11 | enum { | ||
12 | DAMAGE_DEFAULT, // Default behaviour | ||
13 | DAMAGE_HIGHLIGHT, // Highlight regions of the screen being damaged | ||
14 | DAMAGE_RERENDER, // Render the full output when any damage occurs | ||
15 | } damage; | ||
16 | }; | ||
17 | |||
18 | extern struct sway_debug debug; | ||
19 | |||
20 | void update_debug_tree(void); | ||
21 | |||
22 | #endif | ||