Fix double and triple click in Haiku.
* src/haikuterm.c (haiku_read_socket): Record timestamp in events.
This commit is contained in:
parent
f1ee5c6702
commit
6d90444ba0
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue