Skip to content

Commit 22c397b

Browse files
committed
x11/panelwindow: respect exclusive zones per layer
1 parent 23cd6cd commit 22c397b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/x11/panel_window.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ void XPanelWindow::updateDimensions() {
232232
// we only care about windows below us
233233
if (panel == this) break;
234234

235+
// we only care about windows in the same layer
236+
if (panel->mAboveWindows != this->mAboveWindows) continue;
237+
235238
int side = -1;
236239
quint32 exclusiveZone = 0;
237240
panel->getExclusion(side, exclusiveZone);

0 commit comments

Comments
 (0)