diff options
| author | 2024-09-06 14:06:28 +0900 | |
|---|---|---|
| committer | 2024-09-10 14:36:03 +0900 | |
| commit | 64559297bcfb683818cfa9c797f630af2ea5bbb6 (patch) | |
| tree | c94b66108c4ad27843d3bf20a2e72d467858be60 /libs/input/PointerController.cpp | |
| parent | 21685785924cd49e637ef16aa6f547f0a9435048 (diff) | |
Don’t consider move without actual bounds change as drag
This CL prevents DMWindowDecor from flipping `mIsDragging` for
ACTION_MOVE without actual bounds change.
Otherwise, no one resets the flag when...
1) ACTION_DOWN on caption button
2) ACTION_MOVE without actual bounds change on caption button
Note that ACTION_MOVE can be fired even when there is no position
change from the previous ACTION_DOWN
3) ACTION_UP on caption button
4) onClick on caption button
so the caption button click is ignored.
Bug: 364990718
Test: DesktopModeWindowDecorViewModelTests
Flag: EXEMPT bugfix
Change-Id: Icc15380b26f85c93a724966a7e09472b56f0d259
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions