mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 14:42:01 -07:00
xdg-shell: fix xdg-positioner y-flip (#7094)
This commit is contained in:
@@ -567,7 +567,7 @@ CBox CXDGPositionerRules::getPosition(CBox constraint, const Vector2D& parentCoo
|
||||
if (flip) {
|
||||
state.gravity ^= CEdges::TOP | CEdges::BOTTOM;
|
||||
anchorY = state.anchor.top() ? anchorRect.extent().y : state.anchor.bottom() ? anchorRect.y : anchorY;
|
||||
effectiveX = calcEffectiveX();
|
||||
effectiveY = calcEffectiveY();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user