mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-09-24 23:30:04 -05:00
popup: reposition with reserved taken into account
ref https://github.com/hyprwm/Hyprland/discussions/13194
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user