From 42cbaf278cc96218e38662ba5cb84c7023968bc8 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Fri, 29 Jan 2021 19:16:57 -0700 Subject: [PATCH] text_input: Add support for focusing layer-shell surfaces --- sway/input/seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/seat.c b/sway/input/seat.c index 1f5865eec..3c0d9a294 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1234,6 +1234,7 @@ void seat_set_focus_surface(struct sway_seat *seat, wlr_seat_keyboard_notify_clear_focus(seat->wlr_seat); } + sway_input_method_relay_set_focus(&seat->im_relay, surface); seat_tablet_pads_notify_enter(seat, surface); }