aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuminarys <kizunanohikari@gmail.com>2015-08-23 13:32:47 -0500
committerLuminarys <kizunanohikari@gmail.com>2015-08-23 13:32:47 -0500
commit7a213889974daad72fd6b925edc3dc2cf1a394a1 (patch)
tree6d9642693cccac502530cacea81bfc2fc207c136
parent3f1bb40769df708de8f488d432d56d8bce6edb5a (diff)
Minor fix
-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;
}