Commit 59d5c5cf authored by Gunnar Sletta's avatar Gunnar Sletta
Browse files

Avoid eventloop recursion in touch event handling.


The eventloop recursion in the threaded render loop
was there to preempt any pending event to make sure
we worked with as recent as possible input events. The
benefit of this was never verified.

The recursion after the actual flush was to fix animations
which were constantly started during touch events, such
as a behavior tracking the mouse point. This is fixed
differently.

Event loop recursion is always dangerous, so we're
doing what we can to avoid it.

Change-Id: I120b2e98350e3b9068153415a671408773fbc769
Reviewed-by: default avatarMichael Brasser <michael.brasser@live.com>
parent 93fe03a1
Branches
Tags
Showing with 12 additions and 14 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment