summaryrefslogtreecommitdiff
path: root/src/desktop/view/Popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/view/Popup.cpp')
-rw-r--r--src/desktop/view/Popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/view/Popup.cpp b/src/desktop/view/Popup.cpp
index 94d09428..58a16498 100644
--- a/src/desktop/view/Popup.cpp
+++ b/src/desktop/view/Popup.cpp
@@ -334,7 +334,7 @@ void CPopup::reposition() {
if (!PMONITOR)
return;
- m_resource->applyPositioning(PMONITOR->logicalBoxMinusReserved(), COORDS);
+ m_resource->applyPositioning(m_windowOwner ? PMONITOR->logicalBoxMinusReserved() : PMONITOR->logicalBox(), COORDS);
}
SP<Desktop::View::CWLSurface> CPopup::getT1Owner() const {