aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
authorLibravatar Leonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-23 09:13:52 -0600
committerLibravatar Simon Ser <contact@emersion.fr>2022-03-23 18:09:54 +0100
commit6c4c0387a24b145b86aa6c8e89db06429c7114fd (patch)
tree255526b57a423a5de9884763a00b2ac8fd16332d /sway/input/seat.c
parentsway/input: fix bad position of wlr_drag (diff)
downloadsway-6c4c0387a24b145b86aa6c8e89db06429c7114fd.tar.gz
sway-6c4c0387a24b145b86aa6c8e89db06429c7114fd.tar.zst
sway-6c4c0387a24b145b86aa6c8e89db06429c7114fd.zip
sway/input: wlr_seat_keyboard() now takes wlr_keyboard
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 3ae5ed6c..85179dc7 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -813,7 +813,7 @@ static void seat_configure_keyboard(struct sway_seat *seat,
813 } 813 }
814 sway_keyboard_configure(seat_device->keyboard); 814 sway_keyboard_configure(seat_device->keyboard);
815 wlr_seat_set_keyboard(seat->wlr_seat, 815 wlr_seat_set_keyboard(seat->wlr_seat,
816 seat_device->input_device->wlr_device); 816 seat_device->input_device->wlr_device->keyboard);
817 struct sway_node *focus = seat_get_focus(seat); 817 struct sway_node *focus = seat_get_focus(seat);
818 if (focus && node_is_view(focus)) { 818 if (focus && node_is_view(focus)) {
819 // force notify reenter to pick up the new configuration 819 // force notify reenter to pick up the new configuration