diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-05 11:05:52 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-05 11:06:24 +0100 |
commit | ecfef1348aeacc5a815a22c011ad09e5bb8ff49c (patch) | |
tree | 38c84b0f75174e40b8853fe0344ad05ac5388b18 /sway | |
parent | 6b2aa8324681b2623f660c3851397761df9b70dc (diff) |
commands/primary_selection: drop duplicate bool parsing
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/primary_selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/primary_selection.c b/sway/commands/primary_selection.c index 585b079d..3edef945 100644 --- a/sway/commands/primary_selection.c +++ b/sway/commands/primary_selection.c @@ -17,7 +17,7 @@ struct cmd_results *cmd_primary_selection(int argc, char **argv) { "primary_selection can only be enabled/disabled at launch"); } - config->primary_selection = parse_boolean(argv[0], true); + config->primary_selection = primary_selection; return cmd_results_new(CMD_SUCCESS, NULL); } |