From dfeb02e50b231336bc7d3cd4b7f2bb0a31dfc85d Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 4 Mar 2024 04:04:24 -0800 Subject: [PATCH] fix(panel): WlrLayershell exclusionMode was never set --- src/wayland/wlr_layershell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/wlr_layershell.cpp b/src/wayland/wlr_layershell.cpp index 3f73622..bc4fc5c 100644 --- a/src/wayland/wlr_layershell.cpp +++ b/src/wayland/wlr_layershell.cpp @@ -122,8 +122,8 @@ void WlrLayershell::setExclusiveZone(qint32 exclusiveZone) { ExclusionMode::Enum WlrLayershell::exclusionMode() const { return this->mExclusionMode; } void WlrLayershell::setExclusionMode(ExclusionMode::Enum exclusionMode) { - this->mExclusionMode = exclusionMode; if (exclusionMode == this->mExclusionMode) return; + this->mExclusionMode = exclusionMode; if (exclusionMode == ExclusionMode::Normal) { this->ext->setExclusiveZone(this->mExclusiveZone);