diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-14 11:24:22 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-07-14 20:44:32 -0400 |
commit | b1afcc69fa70c20d815940fc25189063ed59ae0f (patch) | |
tree | b5876df0592a14729b09de80fc7fabfaf01065b4 /include/sway | |
parent | dbeb03aa680dde36bd917057a54dc2651b780f27 (diff) | |
download | sway-b1afcc69fa70c20d815940fc25189063ed59ae0f.tar.xz |
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.
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/debug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/debug.h b/include/sway/debug.h index 2430d319..38d4eccd 100644 --- a/include/sway/debug.h +++ b/include/sway/debug.h @@ -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 |