diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shared.c b/examples/shared.c index 1a1f4be4..07614d86 100644 --- a/examples/shared.c +++ b/examples/shared.c @@ -38,7 +38,7 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) { } if (kbstate->compositor->keyboard_key_cb) { kbstate->compositor->keyboard_key_cb(kbstate, event->keycode, sym, - key_state, event->time_usec); + key_state, event->time_msec * 1000); } if (sym == XKB_KEY_Escape) { wl_display_terminate(kbstate->compositor->display); |