Skip to content
Myr

wayland: use MONOTONIC timers

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent 70df026 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:wayland.c+1 added-1 removed
765 unmodified lines
766 wayl->status = KEEP_RUNNING;767 wayl->exit_code = EXIT_FAILURE;768 wayl->dmenu_mode = dmenu_mode;769770 wayl->repeat.fd = timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK);770 wayl->repeat.fd = timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC | TFD_NONBLOCK);771 if (wayl->repeat.fd == -1) {772 LOG_ERRNO("failed to create keyboard repeat timer FD");773 goto out;774 }
190 unmodified lines