commit ee6b0ce24ae74cfae5d41985cacdff6065c8f534
parent 101515eb0c0039e8f67b7d3c8269a8898d8760ac
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 11 Nov 2018 16:16:28 -0500
Merge pull request #3113 from RedSoxFan/fix-ws-auto-back-and-forth
cmd_ws_auto_back_and_forth: fix negation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/commands/ws_auto_back_and_forth.c b/sway/commands/ws_auto_back_and_forth.c
@@ -9,6 +9,6 @@ struct cmd_results *cmd_ws_auto_back_and_forth(int argc, char **argv) {
return error;
}
config->auto_back_and_forth =
- !parse_boolean(argv[0], config->auto_back_and_forth);
+ parse_boolean(argv[0], config->auto_back_and_forth);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}