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

Skip to content
Commit 0cc22288 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Fix coordinate calculation on splitscreen

The mContentRectOnScreen is a global offset i.e. the coordinate is
offset from the display origin. On the other hand, the mScreenRect
always represents a left half of the display in case of horizontally
splitted screen.
So, need to convert the mScreenRect coordinate to the offset from
the display origin.

Bug: 291004451
Test: manually done
Change-Id: I44bed2ee2988f3ce45cc49652946a2832e49ce04
parent 4f300b1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment