Synchronize cleaning up the gesture state in the ws client

This CL attempts to fix issue 928587. The problem happens because
the gesture state remains in the window tree client although
it's cleared naturally within the window server through gesture
recognition. This can happen on window moves, since the touch
events are handled in the client first, and then the control is
shifted to the window server later.

Bug: 928587
Test: manually
Change-Id: Idf049d4aa6f418ceabd0975db292d6fa180df262
Reviewed-by: Scott Violet <>
Reviewed-by: Tom Sepez <>
Commit-Queue: Jun Mukai <>
Cr-Commit-Position: refs/heads/master@{#631032}
13 files changed