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:
Daniel Eklöf 2020-03-01 13:20:07 +01:00
parent 875b067f13
commit ae22366f3b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);