[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4234995 2/2: * src/xterm.c (handle_one_xevent): Set user time on
From: |
Po Lu |
Subject: |
master 4234995 2/2: * src/xterm.c (handle_one_xevent): Set user time on touch events. |
Date: |
Mon, 20 Dec 2021 20:43:58 -0500 (EST) |
branch: master
commit 4234995d428f53ffa9dbf2d4817e2cdfe613a5f4
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
* src/xterm.c (handle_one_xevent): Set user time on touch events.
---
src/xterm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index 47539fd..0cc093d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10879,6 +10879,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
{
struct xi_device_t *device;
device = xi_device_from_id (dpyinfo, xev->deviceid);
+ x_display_set_last_user_time (dpyinfo, xev->time);
if (!device)
goto XI_OTHER;
@@ -10939,6 +10940,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
Lisp_Object arg = Qnil;
device = xi_device_from_id (dpyinfo, xev->deviceid);
+ x_display_set_last_user_time (dpyinfo, xev->time);
if (!device)
goto XI_OTHER;
@@ -10979,6 +10981,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
bool unlinked_p;
device = xi_device_from_id (dpyinfo, xev->deviceid);
+ x_display_set_last_user_time (dpyinfo, xev->time);
if (!device)
goto XI_OTHER;