From 93de6e82a296aaf8aa15733e485fdd4ef34595d3 Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Sat, 10 Sep 2022 22:25:46 -0500 Subject: inline input_device in virtualkeyboard() --- dwl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dwl.c b/dwl.c index 9420ae5..27d5fae 100644 --- a/dwl.c +++ b/dwl.c @@ -2433,8 +2433,7 @@ void virtualkeyboard(struct wl_listener *listener, void *data) { struct wlr_virtual_keyboard_v1 *keyboard = data; - struct wlr_input_device *device = &keyboard->input_device; - createkeyboard(device); + createkeyboard(&keyboard->input_device); } Monitor * -- cgit v1.2.3