From: Po Lu Date: Fri, 25 Feb 2022 00:40:51 +0000 (+0800) Subject: Set user time when receiving any wheel events X-Git-Tag: emacs-29.0.90~2116 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d29cc1e8a06507dc89c5350c59d0eee263c6df0c;p=emacs.git Set user time when receiving any wheel events * src/xterm.c (handle_one_xevent): Set user time if the mouse wheel moved. --- diff --git a/src/xterm.c b/src/xterm.c index 54b00455a1c..18d68e52f12 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11513,6 +11513,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, #endif if (found_valuator) { + x_display_set_last_user_time (dpyinfo, xev->time); + if (fabs (total_x) > 0 || fabs (total_y) > 0) { inev.ie.kind = (fabs (total_y) >= fabs (total_x)