summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-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 *