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

Commit baf416d6 authored by Dan Stoza's avatar Dan Stoza
Browse files

HWC2: Track move of transform into Geometry

Changes a line where we missed the move of transform into Geometry to
fix the HWC2 build.

Bug: 26454664
Change-Id: Ib44ec8705b81da2aa1b99e61449609371e533297
parent 7c357a75
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -780,7 +780,7 @@ void Layer::updateCursorPosition(const sp<const DisplayDevice>& displayDevice) {
    }
    // Subtract the transparent region and snap to the bounds
    Rect bounds = reduce(win, s.activeTransparentRegion);
    Rect frame(s.transform.transform(bounds));
    Rect frame(s.active.transform.transform(bounds));
    frame.intersect(displayDevice->getViewport(), &frame);
    auto& displayTransform(displayDevice->getTransform());
    auto position = displayTransform.transform(frame);