mirror of
https://github.com/swaywm/sway.git
synced 2024-12-02 03:16:47 +00: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.
16 lines
227 B
C
16 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
|