mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Address review comments on parse_boolean
This commit is contained in:
parent
d56d62c1c0
commit
9ec1d6cf79
2 changed files with 10 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue