aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2019-06-19 18:21:18 -0400
committerSimon Ser <contact@emersion.fr>2019-06-20 10:13:58 +0300
commitc346c020bf93d455dab917dd27d86afc78273dd2 (patch)
treed041867620d3f08299ca3707f05dcc084e39202f /swaymsg/main.c
parent5069b53d6c561d0f949cb0aec1d70397a2fb8a90 (diff)
config: fix find_handler logic
Without this change, the handlers listed in the config_handlers or command_handlers arrays (depending on reading or active) in commands.c would be valid subcommands. To make matters worse, they would also take precedence over the defined subcommand handlers. This corrects find_handler to only work on the handler array given instead of implicitly trying others.
Diffstat (limited to 'swaymsg/main.c')
0 files changed, 0 insertions, 0 deletions