mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-27 02:54:36 +00:00
wayland/layershell: use bindable implicit size in exclusive zone calc
Fixes #42
This commit is contained in:
1 file changed
+2
-2
@@ -22,8 +22,8 @@ WlrLayershell::WlrLayershell(QObject* parent): ProxyWindowBase(parent) {
|
||||
case ExclusionMode::Auto:
|
||||
const auto anchors = this->bAnchors.value();
|
||||
|
||||
if (anchors.horizontalConstraint()) return this->height();
|
||||
else if (anchors.verticalConstraint()) return this->width();
|
||||
if (anchors.horizontalConstraint()) return this->bImplicitHeight;
|
||||
else if (anchors.verticalConstraint()) return this->bImplicitWidth;
|
||||
else return 0;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user