summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/desktop/view/Popup.cpp3
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 {