aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-06-19 18:21:18 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-06-20 10:13:58 +0300
commitc346c020bf93d455dab917dd27d86afc78273dd2 (patch)
treed041867620d3f08299ca3707f05dcc084e39202f /sway/commands/seat.c
parentconfig/xwayland: retain xwayland status on reload (diff)
downloadsway-c346c020bf93d455dab917dd27d86afc78273dd2.tar.gz
sway-c346c020bf93d455dab917dd27d86afc78273dd2.tar.zst
sway-c346c020bf93d455dab917dd27d86afc78273dd2.zip
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 'sway/commands/seat.c')
0 files changed, 0 insertions, 0 deletions