inline input_device in virtualkeyboard()

This commit is contained in:
Leonardo Hernández Hernández 2022-09-10 22:25:46 -05:00
parent f8f94c97f5
commit 93de6e82a2
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

3
dwl.c
View File

@ -2433,8 +2433,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; createkeyboard(&keyboard->input_device);
createkeyboard(device);
} }
Monitor * Monitor *