diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 16:07:00 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-22 16:28:11 -0400 |
commit | cef1f60522141f3e1a4fe5278d89bb77118735d4 (patch) | |
tree | 72ae0aa7b037fa35f4fb035ce444023c00154e0f /examples/shared.c | |
parent | 06ae9e7c9f8811dcda3df8ec72ab75e54ee54b87 (diff) |
wlr-seat-keyboard: basic events
Diffstat (limited to 'examples/shared.c')
-rw-r--r-- | examples/shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/shared.c b/examples/shared.c index 0346c96d..19cf83f0 100644 --- a/examples/shared.c +++ b/examples/shared.c @@ -48,7 +48,8 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) { key_state == WLR_KEY_PRESSED ? "pressed" : "released"); } if (kbstate->compositor->keyboard_key_cb) { - kbstate->compositor->keyboard_key_cb(kbstate, event->keycode, sym, key_state); + kbstate->compositor->keyboard_key_cb(kbstate, event->keycode, sym, + key_state, event->time_usec); } if (sym == XKB_KEY_Escape) { wl_display_terminate(kbstate->compositor->display); |