aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-30 15:50:31 -0400
committerGitHub <noreply@github.com>2017-10-30 15:50:31 -0400
commitebca06bfe46d18763c79f99382ce7c9717b538a6 (patch)
tree171dfa1636c409cc5b4fbf8f5ddadea035e99a3d /examples/shared.c
parent2e7cfd21e4c884910a703fab44009ba18c20f002 (diff)
parent875a5b446fcf04314ee102624bda7ae18939837e (diff)
Merge pull request #358 from acrisci/refactor/sec-to-msec
refactor input time_sec to time_msec
Diffstat (limited to 'examples/shared.c')
-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);