From f1ee5c67027b22884835edc0910bbabe4aa62d6c Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 21 Nov 2021 21:07:58 +0800 Subject: [PATCH] Report time in XInput 2 button events * src/xterm.c (handle_one_xevent): Report time in XI button events. --- src/xterm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xterm.c b/src/xterm.c index ee8e03f80b9..f5459afd4ff 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10145,6 +10145,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, | xev->mods.effective | xev->mods.latched | xev->mods.locked; + bv.time = xev->time; memset (&compose_status, 0, sizeof (compose_status)); dpyinfo->last_mouse_glyph_frame = NULL; -- 2.39.5