projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bcd299
)
* src/xterm.c (handle_one_xevent): Set user time on touch events.
author
Po Lu
<luangruo@yahoo.com>
Tue, 21 Dec 2021 01:43:23 +0000
(09:43 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 21 Dec 2021 01:43:23 +0000
(09:43 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 47539fdef5d9a77b83249984c7ca6594d3319d15..0cc093dc752ec880e696bf7c612ad0c9d580cc26 100644
(file)
--- 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;