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

Skip to content
Commit ff0c66e8 authored by Tommy Nordgren's avatar Tommy Nordgren Committed by Prabir Pradhan
Browse files

Check display id of the last hover window before it is cleared

The display id of the last hover window must be checked before
it is cleared when a window changes for a display.

If display id of the last hover window is not checked, then the
last hover window is cleared every time a window changes on a
different display which is faulty.

The last hover window should only be cleared when the window
is removed from the same display as the display of last
hover window.

Add test that ensure that only one hover enter is generated
followed by several hover move when the mouse is moved in
a window on primary display when windows on second display
are removed.

The CTS test, VirtualMouseTest, must also be updated.
Reference patch:
Correct CTS test VirtualMouseTest#sendRelativeEvent
Ie4a54ee3469ed0b7c88abea946f32f66203da38f

Bug: 239687726
Bug: 262701886
Test: atest VirtualMouseTest
Change-Id: I70ebcb994ebc31327b85303110753ce3d40329be
Merged-In: I70ebcb994ebc31327b85303110753ce3d40329be
(cherry picked from commit dae9dfcf)
parent 76742845
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