mirror of https://github.com/tmux/tmux.git
Detect non-double click mouse down events that occur before timeout
Mouse down events which occurred before the double click timeout would be set to "NOTYPE" if they weren't a valid double click, causing rapid presses of different buttons to be lost.pull/3919/head
parent
b00a5fc4a5
commit
68a704154f
|
@ -644,7 +644,10 @@ server_client_check_mouse(struct client *c, struct key_event *event)
|
|||
log_debug("triple-click at %u,%u", x, y);
|
||||
goto have_event;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
/* DOWN is the only remaining event type. */
|
||||
if (type == NOTYPE) {
|
||||
type = DOWN;
|
||||
x = m->x, y = m->y, b = m->b;
|
||||
log_debug("down at %u,%u", x, y);
|
||||
|
|
Loading…
Reference in New Issue