diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-30 22:23:11 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-06-02 08:07:44 -0400 |
commit | 8bfa2def8876bb507aa0174e6b159a0a226889b4 (patch) | |
tree | cb913921a89cf5436a6f0912fcdf680dde973216 /sway/commands/seat.c | |
parent | Support braces on next line for config blocks (diff) | |
download | sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.gz sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.zst sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.zip |
Address first round of review for generic blocks
Diffstat (limited to 'sway/commands/seat.c')
-rw-r--r-- | sway/commands/seat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c index 6080bf64..5e3c0bd0 100644 --- a/sway/commands/seat.c +++ b/sway/commands/seat.c | |||
@@ -24,8 +24,8 @@ struct cmd_results *cmd_seat(int argc, char **argv) { | |||
24 | "Couldn't allocate config"); | 24 | "Couldn't allocate config"); |
25 | } | 25 | } |
26 | 26 | ||
27 | struct cmd_results *res = subcommand(argv + 1, argc - 1, seat_handlers, | 27 | struct cmd_results *res = config_subcommand(argv + 1, argc - 1, |
28 | sizeof(seat_handlers)); | 28 | seat_handlers, sizeof(seat_handlers)); |
29 | 29 | ||
30 | free_seat_config(config->handler_context.seat_config); | 30 | free_seat_config(config->handler_context.seat_config); |
31 | config->handler_context.seat_config = NULL; | 31 | config->handler_context.seat_config = NULL; |