summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index ae75ec67..7ee8c558 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -376,7 +376,7 @@ static bool cmd_output(struct sway_config *config, int argc, char **argv) {
376 376
377 // TODO: atoi doesn't handle invalid numbers 377 // TODO: atoi doesn't handle invalid numbers
378 378
379 if (strcmp(argv[1], "disable") == 0) { 379 if (strcasecmp(argv[1], "disable") == 0) {
380 output->enabled = false; 380 output->enabled = false;
381 } 381 }
382 382