From 05fbead660f8df1ea7274f3cb7b97132ac698705 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 13 Jul 2025 22:54:20 -0700 Subject: [PATCH] x11/panelwindow: calc screen geom with exclusions of other panels Fixes a typo in 9604302 which calculated panel stack offsets from the current panel instead of others in the stack. --- src/x11/panel_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11/panel_window.cpp b/src/x11/panel_window.cpp index 97d46451..adba0ab0 100644 --- a/src/x11/panel_window.cpp +++ b/src/x11/panel_window.cpp @@ -251,8 +251,8 @@ void XPanelWindow::updateDimensions(bool propagate) { if (panel->mTrackedScreen != this->mTrackedScreen) continue; - auto edge = this->bcExclusionEdge.value(); - auto exclusiveZone = this->bcExclusiveZone.value(); + auto edge = panel->bcExclusionEdge.value(); + auto exclusiveZone = panel->bcExclusiveZone.value(); screenGeometry.adjust( edge == Qt::LeftEdge ? exclusiveZone : 0,