summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index ec4beb2..fcb00da 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2375,7 +2375,7 @@ void
virtualkeyboard(struct wl_listener *listener, void *data)
{
struct wlr_virtual_keyboard_v1 *keyboard = data;
- struct wlr_input_device *device = &keyboard->input_device;
+ struct wlr_input_device *device = &keyboard->keyboard.base;
createkeyboard(device);
}