mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
b1afcc69fa
We currently have several ways of setting debug flags, including command line arguments, environment variables, and compile-time macros. This replaces the lot with command line flags.
15 lines
227 B
C
15 lines
227 B
C
#ifndef SWAY_DEBUG_H
|
|
#define SWAY_DEBUG_H
|
|
|
|
// Tree
|
|
extern bool enable_debug_tree;
|
|
void update_debug_tree();
|
|
|
|
// Damage
|
|
extern const char *damage_debug;
|
|
|
|
// Transactions
|
|
extern int txn_timeout_ms;
|
|
extern bool txn_debug;
|
|
|
|
#endif
|