aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/keyboard.c
diff options
context:
space:
mode:
authorLibravatar Simon Zeni <simon@bl4ckb0ne.ca>2022-02-09 16:20:39 -0500
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2022-02-21 20:25:47 +0300
commit85d1c98476b653368e9a9f41650eb6e2f6aac596 (patch)
treefbeff8e7914ffe8ec4a4266a2e4578e8d16590a2 /sway/input/keyboard.c
parentsway/commands: add missing wlr_keyboard interface include in xkb_switch_layout (diff)
downloadsway-85d1c98476b653368e9a9f41650eb6e2f6aac596.tar.gz
sway-85d1c98476b653368e9a9f41650eb6e2f6aac596.tar.zst
sway-85d1c98476b653368e9a9f41650eb6e2f6aac596.zip
sway/input: use wlr_input_device from input device base
Diffstat (limited to 'sway/input/keyboard.c')
-rw-r--r--sway/input/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index f258ac7d..b853e391 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -950,7 +950,7 @@ static void sway_keyboard_group_add(struct sway_keyboard *keyboard) {
950 goto cleanup; 950 goto cleanup;
951 } 951 }
952 sway_group->seat_device->input_device->wlr_device = 952 sway_group->seat_device->input_device->wlr_device =
953 sway_group->wlr_group->input_device; 953 &sway_group->wlr_group->keyboard.base;
954 954
955 if (!sway_keyboard_create(seat, sway_group->seat_device)) { 955 if (!sway_keyboard_create(seat, sway_group->seat_device)) {
956 sway_log(SWAY_ERROR, "Failed to allocate sway_keyboard for group"); 956 sway_log(SWAY_ERROR, "Failed to allocate sway_keyboard for group");