• Alex Newcomer's avatar
    CrOS: Fix two-finger touch on shelf app icons · d6ccf928
    Alex Newcomer authored
    The bug is that after two-finger tapping on an app icon in
    the shelf, the shelf sometimes becomes unresponsive.
    
    This was caused by logic that assumed we wanted to forward all
    gesture events when the context menu was created with a gesture event.
    
    This is fixed by adding a check to see if we are actually dragging
    an app icon before asking MenuRunner to send events to owner.
    
    TEST=manual
    
    Bug: 794681
    Change-Id: Ib2b764126874f9fd58578a1610a70e2c7881ff78
    Reviewed-on: https://chromium-review.googlesource.com/828293
    Commit-Queue: Alex Newcomer <newcomer@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#524502}
    d6ccf928
shelf_view.cc 75.5 KB