[Wayland-bugs] [Bug 90172] Double tap not always recognized
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 30 04:02:01 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90172
--- Comment #21 from Peter Hutterer <peter.hutterer at who-t.net> ---
hard to be sure without profiling, but what I speculate is: input events and
the timerfd are both epoll sources in libinput. but input events are read in a
loop to pull all of them off the device, which can potentially starve the
timerfd. i.e. while the device keeps producing events as fast as we process
them, we never check the timerfd for timeouts and thus go past the allotted
time. the event processing doesn't double-check if the event time is newer than
a previously scheduled timer (it should, feel free to file a bug for this) so
we process an event that comes in late as within the timeout - simply because
we haven't checked the timeout yet.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150430/71ad51a2/attachment.html>
More information about the wayland-bugs
mailing list