aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-07-14 11:24:22 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-07-14 11:24:22 -0400
commit8d2dc4f022bad9e3f81658b122d9038c060d269b (patch)
treeb5876df0592a14729b09de80fc7fabfaf01065b4 /include
parent4622f3c576d888931c65e01e6acf49d2c62303a2 (diff)
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')
-rw-r--r--include/sway/debug.h8
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