projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ee5c6
)
Fix double and triple click in Haiku.
author
Po Lu
<luangruo@yahoo.com>
Sun, 21 Nov 2021 13:14:06 +0000
(13:14 +0000)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 21 Nov 2021 13:14:06 +0000
(13:14 +0000)
* src/haikuterm.c (haiku_read_socket): Record timestamp
in events.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index 67c202d97a2b5802432b4a9b46845dae5505ca1b..61920dbecef1344ce245777d3148d1454d13a34a 100644
(file)
--- a/
src/haikuterm.c
+++ b/
src/haikuterm.c
@@
-3185,12
+3185,16
@@
haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
if (inev.kind != NO_EVENT)
{
+ if (inev.kind != HELP_EVENT)
+ inev.timestamp = time (NULL);
kbd_buffer_store_event_hold (&inev, hold_quit);
++message_count;
}
if (inev2.kind != NO_EVENT)
{
+ if (inev.kind != HELP_EVENT)
+ inev.timestamp = time (NULL);
kbd_buffer_store_event_hold (&inev2, hold_quit);
++message_count;
}