summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-20 11:58:49 +0200
committerFurkan Sahin <furkan-dev@proton.me>2021-09-20 11:58:49 +0200
commit32c14cdc5218382b8a06083e601be24c17f8972e (patch)
tree6de55bbaf7922211584d96b7d2d0f9df482e3c86 /include
parent7e8e016a5a3bd0ff362414fa711de2bd13c15762 (diff)
Add -Dnoscanout debug option
This can help debugging direct scan-out issues, such as [1]. [1]: https://github.com/swaywm/wlroots/issues/3185
Diffstat (limited to 'include')
-rw-r--r--include/sway/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h
index f3522a49..88dda097 100644
--- a/include/sway/server.h
+++ b/include/sway/server.h
@@ -119,6 +119,7 @@ struct sway_debug {
bool noatomic; // Ignore atomic layout updates
bool txn_timings; // Log verbose messages about transactions
bool txn_wait; // Always wait for the timeout before applying
+ bool noscanout; // Disable direct scan-out
enum {
DAMAGE_DEFAULT, // Default behaviour