desktop/popup: only remove reserved for window popups

This commit is contained in:
Vaxry 2026-02-19 17:41:17 +00:00
parent a1e62dcb12
commit 9ea6d0e15f
No known key found for this signature in database
GPG key ID: 665806380871D640

View file

@ -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 {