mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-11-15 19:47:57 +01:00
commands/primary_selection: drop duplicate bool parsing
This commit is contained in:
parent
6b2aa83246
commit
ecfef1348a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue