diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-04-30 17:09:44 -0400 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 7c635b61fe2efd122d131951c26f0c89d25f56cc (patch) | |
tree | cc5d48bb1b029a121148cf83c72026d63eeedd84 /sway | |
parent | bab6b79af203762c10c31eaef3494dd4e4e4ac4f (diff) |
remove damage debug options
Now that we use wlr_scene, wlroots handles these. If available use
the wlroots debug options instead.
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sway/main.c b/sway/main.c index 65c85d31..21f19fc4 100644 --- a/sway/main.c +++ b/sway/main.c @@ -154,11 +154,7 @@ void restore_nofile_limit(void) { } void enable_debug_flag(const char *flag) { - if (strcmp(flag, "damage=highlight") == 0) { - debug.damage = DAMAGE_HIGHLIGHT; - } else if (strcmp(flag, "damage=rerender") == 0) { - debug.damage = DAMAGE_RERENDER; - } else if (strcmp(flag, "noatomic") == 0) { + if (strcmp(flag, "noatomic") == 0) { debug.noatomic = true; } else if (strcmp(flag, "txn-wait") == 0) { debug.txn_wait = true; @@ -166,8 +162,6 @@ void enable_debug_flag(const char *flag) { debug.txn_timings = true; } else if (strncmp(flag, "txn-timeout=", 12) == 0) { server.txn_timeout_ms = atoi(&flag[12]); - } else if (strcmp(flag, "noscanout") == 0) { - debug.noscanout = true; } else { sway_log(SWAY_ERROR, "Unknown debug flag: %s", flag); } |