diff options
Diffstat (limited to 'sway/config/output.c')
-rw-r--r-- | sway/config/output.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sway/config/output.c b/sway/config/output.c index 713cd219..68aafbe1 100644 --- a/sway/config/output.c +++ b/sway/config/output.c | |||
@@ -481,14 +481,7 @@ bool apply_output_config(struct output_config *oc, struct sway_output *output) { | |||
481 | // Reconfigure all devices, since input config may have been applied before | 481 | // Reconfigure all devices, since input config may have been applied before |
482 | // this output came online, and some config items (like map_to_output) are | 482 | // this output came online, and some config items (like map_to_output) are |
483 | // dependent on an output being present. | 483 | // dependent on an output being present. |
484 | struct sway_input_device *input_device = NULL; | 484 | input_manager_configure_all_inputs(); |
485 | wl_list_for_each(input_device, &server.input->devices, link) { | ||
486 | struct sway_seat *seat = NULL; | ||
487 | wl_list_for_each(seat, &server.input->seats, link) { | ||
488 | seat_configure_device(seat, input_device); | ||
489 | } | ||
490 | } | ||
491 | |||
492 | return true; | 485 | return true; |
493 | } | 486 | } |
494 | 487 | ||