wlr_virtual_keyboard_v1 now has its own wlr_keyboard

which has its own wlr_input_device

Signed-off-by: Leonardo Hernández Hernández <leohdz172@protonmail.com>
This commit is contained in:
Leonardo Hernández Hernández 2022-03-05 21:07:25 -06:00
parent 432c15fb09
commit 230d3432e9
No known key found for this signature in database
GPG key ID: E538897EE11B9624

2
dwl.c
View file

@ -2375,7 +2375,7 @@ void
virtualkeyboard(struct wl_listener *listener, void *data) virtualkeyboard(struct wl_listener *listener, void *data)
{ {
struct wlr_virtual_keyboard_v1 *keyboard = 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); createkeyboard(device);
} }