diff options
Diffstat (limited to 'backend/libinput/keyboard.c')
-rw-r--r-- | backend/libinput/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/libinput/keyboard.c b/backend/libinput/keyboard.c index f188b09e..f19d7120 100644 --- a/backend/libinput/keyboard.c +++ b/backend/libinput/keyboard.c @@ -45,8 +45,8 @@ void handle_keyboard_key(struct libinput_event *event, } struct libinput_event_keyboard *kbevent = libinput_event_get_keyboard_event(event); - struct wlr_keyboard_key *wlr_event = - calloc(1, sizeof(struct wlr_keyboard_key)); + struct wlr_event_keyboard_key *wlr_event = + calloc(1, sizeof(struct wlr_event_keyboard_key)); wlr_event->time_sec = libinput_event_keyboard_get_time(kbevent); wlr_event->time_usec = libinput_event_keyboard_get_time_usec(kbevent); wlr_event->keycode = libinput_event_keyboard_get_key(kbevent); |