• Gunnar Sletta's avatar
    Avoid eventloop recursion in touch event handling. · 59d5c5cf
    Gunnar Sletta authored
    
    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>
    59d5c5cf