diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-03 09:01:34 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-04 09:23:57 -0400 |
commit | 5354fe8729b8c52f8f3ff63f23f932c49bf8c880 (patch) | |
tree | 31b9c35b26329961e269724ede16cb1981ce0fb9 /backend/libinput | |
parent | 9bd0f47efd9a0c851d1715f3b9427b5f51b6d8a3 (diff) |
move keyboard to seat
Diffstat (limited to 'backend/libinput')
-rw-r--r-- | backend/libinput/keyboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/libinput/keyboard.c b/backend/libinput/keyboard.c index 065d8ead..9a24c791 100644 --- a/backend/libinput/keyboard.c +++ b/backend/libinput/keyboard.c @@ -54,6 +54,7 @@ void handle_keyboard_key(struct libinput_event *event, struct libinput_event_keyboard *kbevent = libinput_event_get_keyboard_event(event); struct wlr_event_keyboard_key wlr_event = { 0 }; + wlr_event.device = wlr_dev; wlr_event.time_msec = usec_to_msec(libinput_event_keyboard_get_time_usec(kbevent)); wlr_event.keycode = libinput_event_keyboard_get_key(kbevent); |