mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
input: raise window 'move' timeout to 200ms
100ms was a bit low and prevented double-tap on touchpads from working.
This commit is contained in:
parent
875b067f13
commit
ae22366f3b
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -917,7 +917,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
else if (button == BTN_LEFT && win->csd.move_timeout_fd == -1) {
|
||||
const struct itimerspec timeout = {
|
||||
.it_value = {.tv_nsec = 100000000},
|
||||
.it_value = {.tv_nsec = 200000000},
|
||||
};
|
||||
|
||||
int fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue