diff options
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index 6a49b13b..fa8e4b49 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c | |||
@@ -145,6 +145,7 @@ static void input_add_notify(struct wl_listener *listener, void *data) { | |||
145 | 145 | ||
146 | struct sway_seat *seat = NULL; | 146 | struct sway_seat *seat = NULL; |
147 | if (!input_has_seat_configuration(input)) { | 147 | if (!input_has_seat_configuration(input)) { |
148 | sway_log(L_DEBUG, "no seat configuration, using default seat"); | ||
148 | seat = input_manager_get_seat(input, default_seat); | 149 | seat = input_manager_get_seat(input, default_seat); |
149 | sway_seat_add_device(seat, input_device); | 150 | sway_seat_add_device(seat, input_device); |
150 | return; | 151 | return; |
@@ -245,6 +246,7 @@ void sway_input_manager_apply_input_config(struct sway_input_manager *input, | |||
245 | 246 | ||
246 | void sway_input_manager_apply_seat_config(struct sway_input_manager *input, | 247 | void sway_input_manager_apply_seat_config(struct sway_input_manager *input, |
247 | struct seat_config *seat_config) { | 248 | struct seat_config *seat_config) { |
249 | sway_log(L_DEBUG, "applying new seat config for seat %s", seat_config->name); | ||
248 | struct sway_seat *seat = input_manager_get_seat(input, seat_config->name); | 250 | struct sway_seat *seat = input_manager_get_seat(input, seat_config->name); |
249 | // the old config is invalid so clear it | 251 | // the old config is invalid so clear it |
250 | sway_seat_set_config(seat, NULL); | 252 | sway_seat_set_config(seat, NULL); |