Fix a fast click, move mouse, click sequence causing the first click event to be discarded

Fix #4603
This commit is contained in:
Kovid Goyal
2022-02-11 14:46:37 +05:30
parent 9fd4f8e5c2
commit 275ede6f0a
3 changed files with 33 additions and 9 deletions

View File

@@ -105,6 +105,7 @@ typedef struct {
monotonic_t at;
int button, modifiers;
double x, y;
unsigned long num;
} Click;
#define CLICK_QUEUE_SZ 3