aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-30 15:43:06 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-30 15:43:06 -0400
commit875a5b446fcf04314ee102624bda7ae18939837e (patch)
tree4030c2bce3f8fbeeed9cff560f5290d41ea3d2a7 /examples
parenta224e74fadd6393e25ec7392115892aec87dc11a (diff)
remove time usec
Diffstat (limited to 'examples')
-rw-r--r--examples/shared.c2
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);