From cfbbfb591ae5c7d11bae72effe6e08ef60ce7453 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 7 Feb 2026 11:11:39 +0000 Subject: [PATCH] popup: reposition with reserved taken into account ref https://github.com/hyprwm/Hyprland/discussions/13194 --- src/desktop/view/Popup.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 CPopup::getT1Owner() const {