fix(panel): WlrLayershell exclusionMode was never set

This commit is contained in:
outfoxxed 2024-03-04 04:04:24 -08:00
parent 4ef4cba4ee
commit dfeb02e50b
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

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