]> git.eshelyaron.com Git - emacs.git/commitdiff
Set motion event time when handling XI2 motion events
authorPo Lu <luangruo@yahoo.com>
Sat, 27 Nov 2021 06:57:59 +0000 (14:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 27 Nov 2021 06:57:59 +0000 (14:57 +0800)
* src/xterm.c (handle_one_xevent): Set motion event time when
handling XI_Motion.

src/xterm.c

index c7950c6f9fc73f60158fa5f5847877fc7391bac2..8045470bdd3190be272d4144b55e0acf98e32428 100644 (file)
@@ -10085,6 +10085,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
            ev.x = lrint (xev->event_x);
            ev.y = lrint (xev->event_y);
            ev.window = xev->event;
+           ev.time = xev->time;
 
            previous_help_echo_string = help_echo_string;
            help_echo_string = Qnil;