aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-09-20 11:58:49 +0200
committerLibravatar Kenny Levinsen <kl@kl.wtf>2021-09-20 14:22:35 +0200
commit82d5f12914d198b403bf14b19219581de3c6199f (patch)
tree6de55bbaf7922211584d96b7d2d0f9df482e3c86 /include
parentswaybar: properly draw blocks with transparent black border (diff)
downloadsway-82d5f12914d198b403bf14b19219581de3c6199f.tar.gz
sway-82d5f12914d198b403bf14b19219581de3c6199f.tar.zst
sway-82d5f12914d198b403bf14b19219581de3c6199f.zip
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 {
119 bool noatomic; // Ignore atomic layout updates 119 bool noatomic; // Ignore atomic layout updates
120 bool txn_timings; // Log verbose messages about transactions 120 bool txn_timings; // Log verbose messages about transactions
121 bool txn_wait; // Always wait for the timeout before applying 121 bool txn_wait; // Always wait for the timeout before applying
122 bool noscanout; // Disable direct scan-out
122 123
123 enum { 124 enum {
124 DAMAGE_DEFAULT, // Default behaviour 125 DAMAGE_DEFAULT, // Default behaviour