aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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) {
// TODO: atoi doesn't handle invalid numbers
- if (strcmp(argv[1], "disable") == 0) {
+ if (strcasecmp(argv[1], "disable") == 0) {
output->enabled = false;
}