sway-patched-tray-menu-github/include/sway/debug.h

19 lines
537 B
C
Raw Normal View History

2018-04-06 17:49:27 +02:00
#ifndef SWAY_DEBUG_H
#define SWAY_DEBUG_H
#include <stdbool.h>
2018-04-06 17:49:27 +02:00
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
};
2018-04-06 17:49:27 +02:00
extern struct sway_debug debug;
void update_debug_tree();
2018-04-06 17:49:27 +02:00
#endif