aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-20 11:58:49 +0200
committerKenny Levinsen <kl@kl.wtf>2021-09-20 14:22:35 +0200
commit82d5f12914d198b403bf14b19219581de3c6199f (patch)
tree6de55bbaf7922211584d96b7d2d0f9df482e3c86 /include
parent033061aee602a54f65340e2a300054d2790c22ea (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