aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c
index 89b89464..f683e7ab 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -151,8 +151,7 @@ static void destroy_removed_seats(struct sway_config *old_config,
/* Also destroy seats that aren't present in new config */
if (new_config && list_seq_find(new_config->seat_configs,
seat_name_cmp, seat_config->name) < 0) {
- seat = input_manager_get_seat(input_manager,
- seat_config->name);
+ seat = input_manager_get_seat(seat_config->name);
seat_destroy(seat);
}
}