diff options
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index c576a593..b900f666 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c | |||
@@ -558,13 +558,12 @@ void input_manager_reset_all_inputs() { | |||
558 | 558 | ||
559 | // If there is at least one keyboard using the default keymap, repeat delay, | 559 | // If there is at least one keyboard using the default keymap, repeat delay, |
560 | // and repeat rate, then it is possible that there is a keyboard group that | 560 | // and repeat rate, then it is possible that there is a keyboard group that |
561 | // needs to be reset. This will disarm the keyboards as well as exit and | 561 | // need their keyboard disarmed. |
562 | // re-enter any focus views. | ||
563 | struct sway_seat *seat; | 562 | struct sway_seat *seat; |
564 | wl_list_for_each(seat, &server.input->seats, link) { | 563 | wl_list_for_each(seat, &server.input->seats, link) { |
565 | struct sway_keyboard_group *group; | 564 | struct sway_keyboard_group *group; |
566 | wl_list_for_each(group, &seat->keyboard_groups, link) { | 565 | wl_list_for_each(group, &seat->keyboard_groups, link) { |
567 | seat_reset_device(seat, group->seat_device->input_device); | 566 | sway_keyboard_disarm_key_repeat(group->seat_device->keyboard); |
568 | } | 567 | } |
569 | } | 568 | } |
570 | } | 569 | } |