Loading services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
services/surfaceflinger/Layer.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading