diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-23 21:37:53 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-23 21:37:53 -0400 |
commit | 9ec1d6cf79e6f9c3233f577c6fddeaeb21bb1bfc (patch) | |
tree | bfc136252f81a5350f240c20161d2d0bfc2f80dd /sway/commands | |
parent | d56d62c1c0b504d6c414f4b970a4a996cdadd879 (diff) |
Address review comments on parse_boolean
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/focus_wrapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/focus_wrapping.c b/sway/commands/focus_wrapping.c index 15704228..562ee4f9 100644 --- a/sway/commands/focus_wrapping.c +++ b/sway/commands/focus_wrapping.c @@ -9,7 +9,7 @@ struct cmd_results *cmd_focus_wrapping(int argc, char **argv) { return error; } - if (strcmp(argv[0], "force") == 0) { + if (strcasecmp(argv[0], "force") == 0) { config->focus_wrapping = WRAP_FORCE; } else if (parse_boolean(argv[0], config->focus_wrapping == WRAP_YES)) { config->focus_wrapping = WRAP_YES; |