x11/panelwindow: respect exclusive zones per layer

This commit is contained in:
outfoxxed 2024-08-15 17:15:30 -07:00
parent 23cd6cd9e1
commit 22c397bbb0
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -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);