1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-09 15:50:21 +00:00

Fix double and triple click in Haiku.

* src/haikuterm.c (haiku_read_socket): Record timestamp
in events.
This commit is contained in:
Po Lu 2021-11-21 13:14:06 +00:00
parent f1ee5c6702
commit 6d90444ba0

View File

@ -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;
}