aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2021-01-29 19:16:57 -0700
committerTudor Brindus <me@tbrindus.ca>2021-02-15 18:24:47 -0500
commit42cbaf278cc96218e38662ba5cb84c7023968bc8 (patch)
tree75be153db89ac37aa56a56454d6827e6df6d7b93
parentc8bf84c82d82e332c1bb83ff27c3df87576c892e (diff)
text_input: Add support for focusing layer-shell surfaces
-rw-r--r--sway/input/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 1f5865ee..3c0d9a29 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);
}