summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-18 18:44:50 -0400
committerDrew DeVault <[email protected]>2015-08-18 18:44:50 -0400
commitcf916bbf6fbdf75abc55d4c1abe26ed6b8153687 (patch)
treed5b001e393d5fd5aad4608a7d67784baf1c2de92 /sway/commands.c
parent446d593b4ca5cf4ea5bbf9eaafe8a6f3521b4189 (diff)
Improvements to gaps
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 54839322..42d6b173 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -307,9 +307,9 @@ static bool cmd_gaps(struct sway_config *config, int argc, char **argv) {
errno = 0;
return false;
}
- if (strcmp(argv[0], "inner") == 0) {
+ if (strcasecmp(argv[0], "inner") == 0) {
config->gaps_inner = amount;
- } else if (strcmp(argv[0], "outer") == 0) {
+ } else if (strcasecmp(argv[0], "outer") == 0) {
config->gaps_outer = amount;
} else {
return false;