diff options
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index dcaeb056..288fddc4 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c | |||
@@ -571,6 +571,13 @@ void input_manager_configure_all_input_mappings(void) { | |||
571 | wl_list_for_each(seat, &server.input->seats, link) { | 571 | wl_list_for_each(seat, &server.input->seats, link) { |
572 | seat_configure_device_mapping(seat, input_device); | 572 | seat_configure_device_mapping(seat, input_device); |
573 | } | 573 | } |
574 | |||
575 | #if WLR_HAS_LIBINPUT_BACKEND | ||
576 | // Input devices mapped to unavailable outputs get their libinput | ||
577 | // send_events setting switched to false. We need to re-enable this | ||
578 | // when the output appears. | ||
579 | sway_input_configure_libinput_device_send_events(input_device); | ||
580 | #endif | ||
574 | } | 581 | } |
575 | } | 582 | } |
576 | 583 | ||