[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6d90444: Fix double and triple click in Haiku.
From: |
Po Lu |
Subject: |
master 6d90444: Fix double and triple click in Haiku. |
Date: |
Sun, 21 Nov 2021 08:15:43 -0500 (EST) |
branch: master
commit 6d90444ba0f5202553cf8c245b809c09fce1a317
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix double and triple click in Haiku.
* src/haikuterm.c (haiku_read_socket): Record timestamp
in events.
---
src/haikuterm.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/haikuterm.c b/src/haikuterm.c
index 67c202d..61920db 100644
--- 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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6d90444: Fix double and triple click in Haiku.,
Po Lu <=