popup: reposition with reserved taken into account
ref https://github.com/hyprwm/Hyprland/discussions/13194
This commit is contained in:
parent
63eb6b3bda
commit
cfbbfb591a
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue