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

Commit bf4f9107 authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

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

am: 52448f38

* commit '52448f38':
  HWC2: Track move of transform into Geometry
parents ff48c151 52448f38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -778,7 +778,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);