We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae8e49 commit 2e3c15fCopy full SHA for 2e3c15f
src/wayland/wlr_layershell/wlr_layershell.cpp
@@ -22,8 +22,8 @@ WlrLayershell::WlrLayershell(QObject* parent): ProxyWindowBase(parent) {
22
case ExclusionMode::Auto:
23
const auto anchors = this->bAnchors.value();
24
25
- if (anchors.horizontalConstraint()) return this->height();
26
- else if (anchors.verticalConstraint()) return this->width();
+ if (anchors.horizontalConstraint()) return this->bImplicitHeight;
+ else if (anchors.verticalConstraint()) return this->bImplicitWidth;
27
else return 0;
28
}
29
});
0 commit comments