aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/input/seat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index da4bb12a..9a00a3e2 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -802,11 +802,10 @@ static void seat_configure_keyboard(struct sway_seat *seat,
return;
}
- // force notify reenter to pick up the new configuration. This reuses
+ // Notify reenter to pick up the new configuration. This reuses
// the current focused surface to avoid breaking input grabs.
struct wlr_surface *surface = seat->wlr_seat->keyboard_state.focused_surface;
if (surface) {
- wlr_seat_keyboard_notify_clear_focus(seat->wlr_seat);
seat_keyboard_notify_enter(seat, surface);
}
}