diff options
| author | 2024-07-09 12:27:22 +0100 | |
|---|---|---|
| committer | 2024-07-10 10:15:00 +0000 | |
| commit | 929da90dc0b15c796be3e889758804cb6aaf5173 (patch) | |
| tree | 8e5e84803fb9dfd573d546a002b9caff06567aac /libs/androidfw/misc.cpp | |
| parent | 216290350ad5b2e989ef424639b4d52cc163f951 (diff) | |
Fix hover icon when drag resizing a freeform window with a stylus.
getXCursorPosition() returns NaN when using a stylus. Using getX()
returns the X coordinate for pointer index 0 regardless of the pointer
identifier.
Test: manual test with a stylus and a mouse and resize a freeform window
Flag: EXEMPT minor bug fix
Fixes: 336268312
Change-Id: I3f413f7fc93876fd02340ae56a1c5c28f3d2dc4c
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions