mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-07-10 11:03:50 -04:00
term/wayland: use MONOTONIC timers
This commit is contained in:
parent
bdc4bf2372
commit
5956faac01
2 changed files with 6 additions and 6 deletions
|
|
@ -730,7 +730,7 @@ wayl_init(const struct config *conf, struct fdm *fdm)
|
|||
goto out;
|
||||
}
|
||||
|
||||
wayl->kbd.repeat.fd = timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK);
|
||||
wayl->kbd.repeat.fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);
|
||||
if (wayl->kbd.repeat.fd == -1) {
|
||||
LOG_ERRNO("failed to create keyboard repeat timer FD");
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue