summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-01-29 19:16:57 -0700
committerFurkan Sahin <furkan-dev@proton.me>2021-01-29 19:16:57 -0700
commite89b9a5755240ef476a5bee49988c2822bd77c63 (patch)
tree75be153db89ac37aa56a56454d6827e6df6d7b93
parentd786ec8162bcc394870ec50ef1bb02c575e7e975 (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);
}