From 22c397bbb0f2b287a2105b9a0cdd086088227945 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Thu, 15 Aug 2024 17:15:30 -0700 Subject: [PATCH] x11/panelwindow: respect exclusive zones per layer --- src/x11/panel_window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/x11/panel_window.cpp b/src/x11/panel_window.cpp index fc043f1d..fab50abe 100644 --- a/src/x11/panel_window.cpp +++ b/src/x11/panel_window.cpp @@ -232,6 +232,9 @@ void XPanelWindow::updateDimensions() { // we only care about windows below us if (panel == this) break; + // we only care about windows in the same layer + if (panel->mAboveWindows != this->mAboveWindows) continue; + int side = -1; quint32 exclusiveZone = 0; panel->getExclusion(side, exclusiveZone);