diff options
author | emersion <contact@emersion.fr> | 2018-10-20 08:42:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-20 08:42:56 +0200 |
commit | 75ea19c71b08e4b3dd1ad053944724fd91dc04bd (patch) | |
tree | 734b3ad6e6ef44d62ac6bbb1162a8bbb2ca28ae4 /sway/config.c | |
parent | fe6aea1d02db7e172cafdaac61d612d0de2dc9d0 (diff) | |
parent | c006717910e5f30ca65645f701541dfa176c1392 (diff) |
Merge pull request #2870 from RyanDwyer/refactor-input-manager
Minor refactor of input manager
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 3 |
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); } } |