aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input.c b/input.c
index ca7d0ec2..fd15b392 100644
--- a/input.c
+++ b/input.c
@@ -374,6 +374,8 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
term_to_slave(term, buf, count);
}
+ clock_gettime(
+ term->wl->presentation_clock_id, &term->render.input_time);
term_reset_view(term);
selection_cancel(term);
}