]> git.eshelyaron.com Git - emacs.git/commitdiff
Report time in XInput 2 button events
authorPo Lu <luangruo@yahoo.com>
Sun, 21 Nov 2021 13:07:58 +0000 (21:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 21 Nov 2021 13:07:58 +0000 (21:07 +0800)
* src/xterm.c (handle_one_xevent): Report time in XI button
events.

src/xterm.c

index ee8e03f80b9b6ca0c61e8838a31c547ac895123c..f5459afd4ffbead5c316f1ffda9374325fb994f6 100644 (file)
@@ -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;