diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2024-07-29 01:48:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 09:48:27 +0100 |
| commit | 33e513d489faf5998a3831d55aa7ddd796ef3368 (patch) | |
| tree | 5163e0936da03b5f87fba00c86c97fe418502f48 /src/protocols/XDGShell.cpp | |
| parent | 6e6c61b9e87942425b978efa2309dbcca57c3217 (diff) | |
xdg-shell: fix xdg-positioner y-flip (#7094)
Diffstat (limited to 'src/protocols/XDGShell.cpp')
| -rw-r--r-- | src/protocols/XDGShell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/XDGShell.cpp b/src/protocols/XDGShell.cpp index e9921988..cb8a5bc3 100644 --- a/src/protocols/XDGShell.cpp +++ b/src/protocols/XDGShell.cpp @@ -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(); } } |
