aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/debug.h
blob: 5dcd9e00a65587c3aa44b4fac8afba64571d1896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SWAY_DEBUG_H
#define SWAY_DEBUG_H
#include <stdbool.h>

struct sway_debug {
	bool highlight_damage; // Highlight regions of the screen being damaged
	bool noatomic;         // Ignore atomic layout updates
	bool nodamage;         // Render the full output on each frame
	bool render_tree;      // Render the tree overlay
	bool txn_timings;      // Log verbose messages about transactions
	bool txn_wait;         // Always wait for the timeout before applying
};

extern struct sway_debug debug;

void update_debug_tree();

#endif