diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-02-07 11:11:39 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2026-02-07 11:11:45 +0000 |
| commit | cfbbfb591ae5c7d11bae72effe6e08ef60ce7453 (patch) | |
| tree | b77d46dacde88c1de4efa6b6bba4ed8fbc14408e /src/desktop/view/Popup.cpp | |
| parent | 63eb6b3bda71e7e5a1043f585ae39e878cb56b55 (diff) | |
popup: reposition with reserved taken into account
ref https://github.com/hyprwm/Hyprland/discussions/13194
Diffstat (limited to 'src/desktop/view/Popup.cpp')
| -rw-r--r-- | src/desktop/view/Popup.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/desktop/view/Popup.cpp b/src/desktop/view/Popup.cpp index 841674e7..94d09428 100644 --- a/src/desktop/view/Popup.cpp +++ b/src/desktop/view/Popup.cpp @@ -334,8 +334,7 @@ void CPopup::reposition() { if (!PMONITOR) return; - CBox box = {PMONITOR->m_position.x, PMONITOR->m_position.y, PMONITOR->m_size.x, PMONITOR->m_size.y}; - m_resource->applyPositioning(box, COORDS); + m_resource->applyPositioning(PMONITOR->logicalBoxMinusReserved(), COORDS); } SP<Desktop::View::CWLSurface> CPopup::getT1Owner() const { |
