summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-02-28 16:55:34 +0000
committerGitHub <noreply@github.com>2026-02-28 16:55:34 +0000
commit1c64ef06d9cb555fc562345c172c45e95c3b3077 (patch)
tree8fe3c9f0100e97657c674a015599d07edfd82a1b /src/desktop/view/Window.cpp
parent6b2c08d3e89b1cb6f9e609664915236bbe5115da (diff)
desktop/window: fix idealBB reserved (#13421)
ref https://github.com/hyprwm/Hyprland/discussions/12766\#discussioncomment-15955638
Diffstat (limited to 'src/desktop/view/Window.cpp')
-rw-r--r--src/desktop/view/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/view/Window.cpp b/src/desktop/view/Window.cpp
index 137d79bd..5871456b 100644
--- a/src/desktop/view/Window.cpp
+++ b/src/desktop/view/Window.cpp
@@ -277,7 +277,7 @@ CBox CWindow::getWindowIdealBoundingBoxIgnoreReserved() {
// fucker fucking fuck
const auto WORKAREA = m_workspace->m_space->workArea();
- const auto& RESERVED = PMONITOR->m_reservedArea;
+ const auto& RESERVED = CReservedArea(PMONITOR->logicalBox(), WORKAREA);
if (DELTALESSTHAN(POS.x, WORKAREA.x, 1)) {
POS.x -= RESERVED.left();