summaryrefslogtreecommitdiff
path: root/fb/fbpoint.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-12-08 14:32:06 +1000
committerAdam Jackson <ajax@redhat.com>2017-01-11 15:04:12 -0500
commitcb3057da2254f9b6434a9c40486c72865cd1ab5e (patch)
tree4009deef687155b1cd7f21372bd33d4b16e6ff03 /fb/fbpoint.c
parentdb03742cd33d6d54834bb138886a4f84bc452a85 (diff)
os: return 0 from check_timers if we touched any of them
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@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'fb/fbpoint.c')
0 files changed, 0 insertions, 0 deletions