Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f282c31b authored by Arpit Singh's avatar Arpit Singh
Browse files

[4/n CD Cursor] Use Pointer's display transform for motion events

We assume window's display id always matches pointer's display which is
no longer true. This can lead to motion events being incorrectly
transformed.

In this CL we update raw transform to use pointer's display instead to
ensure raw coordinates are always in pointer's display coordinate space.

Test: atest inputflinger_tests
Bug: 362719483
Flag: com.android.input.flags.connected_displays_cursor

Change-Id: If450ae1697bfac852b18c46a983ee75183f4c940
parent 7a6bfc5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment