[PATCH libinput] evdev: set CLOCK_MONOTONIC as the time source
Thiago Macieira
thiago at kde.org
Tue Feb 18 19:13:00 PST 2014
Em qua 19 fev 2014, às 08:47:32, Peter Hutterer escreveu:
> + libevdev_set_clock_id(device->evdev, CLOCK_MONOTONIC);
What happens if the monotonic clock isn't supported? Shouldn't you check that
sysconf(_SC_MONOTONIC_CLOCK) > 0 ?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the wayland-devel
mailing list