[PATCH xserver] os: return 0 from check_timers if we touched any of them
ajax at nwnk.net
Mon Jan 2 19:23:30 UTC 2017
On Wed, 2016-12-07 at 20:59 -0800, Keith Packard wrote:
> > Peter Hutterer <peter.hutterer at who-t.net> writes:
> > Fixes a regression introduced in 0b2f30834b1a9f. If a driver posts input
> > events during a timer function (wacom and synaptics do this during tap
> > timeouts), ProcessInputEvents() is not called for these events. There are no
> > new events on any fds, so the events just sit in the queue waiting for
> > something else to happen.
> > Fix this by simply returning 0 from check_timers if we ran at least one of
> > them or reset them all. This way the callers ospoll_wait will exit and
> > continue with normal processing.
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> Reviewed-by: Keith Packard <keithp at keithp.com>
remote: I: patch #126334 updated using rev 1b42f9505ff3a39b441464f553442079b750fe88.
remote: I: 1 patch(es) updated to state Accepted.
c96c860..1b42f95 master -> master
More information about the xorg-devel