Add -Dnoscanout debug option

This can help debugging direct scan-out issues, such as [1].

[1]: https://github.com/swaywm/wlroots/issues/3185
This commit is contained in:
Simon Ser 2021-09-20 11:58:49 +02:00 committed by Kenny Levinsen
parent 033061aee6
commit 82d5f12914
3 changed files with 4 additions and 1 deletions

View file

@ -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