Set user time when receiving any wheel events
* src/xterm.c (handle_one_xevent): Set user time if the mouse wheel moved.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user