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

Commit 52448f38 authored by Dan Stoza's avatar Dan Stoza Committed by Android (Google) Code Review
Browse files

Merge "HWC2: Track move of transform into Geometry" into nyc-dev

parents c334549a baf416d6
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);