mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
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.
This commit is contained in:
1 file changed
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user