Skip to content

Commit

Permalink
xdg-shell: fix xdg-positioner y-flip (#7094)
Browse files Browse the repository at this point in the history
  • Loading branch information
outfoxxed authored Jul 29, 2024
1 parent 6e6c61b commit 33e513d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/XDGShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 33e513d

Please sign in to comment.