mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Add extended debugging flags
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.
This commit is contained in:
parent
dbeb03aa68
commit
b1afcc69fa
4 changed files with 33 additions and 11 deletions
|
|
@ -1,7 +1,15 @@
|
|||
#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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue