cmd_mode: allow cmd_set to be a subcommand

This allows set to be used in mode blocks
This commit is contained in:
Brian Ashworth 2019-03-19 23:07:32 -04:00 committed by emersion
parent cdcc2a5bb5
commit 8cd7f0171a
2 changed files with 5 additions and 4 deletions

View file

@ -13,7 +13,8 @@
static struct cmd_handler mode_handlers[] = {
{ "bindcode", cmd_bindcode },
{ "bindswitch", cmd_bindswitch },
{ "bindsym", cmd_bindsym }
{ "bindsym", cmd_bindsym },
{ "set", cmd_set },
};
struct cmd_results *cmd_mode(int argc, char **argv) {