aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-10 22:25:46 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-10 22:25:46 -0500
commit93de6e82a296aaf8aa15733e485fdd4ef34595d3 (patch)
tree81eed882545d48cae35e1af9e5dd894f3f3a3bce
parentf8f94c97f5d324c8876e88d0d82fd518eca25b1b (diff)
inline input_device in virtualkeyboard()
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 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 *