diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-11-19 19:03:26 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-11-19 19:08:27 +0000 |
| commit | 7532115318cd5c1ddf434d93e37995e55d5bc8cb (patch) | |
| tree | 488ec2ccdb63f59062cca34b223306c595733714 /src/layout | |
| parent | 1c29d6b1ba10da17e5e3c0bb7cd7ac2ba6f736ca (diff) | |
rule: nuke parseRelativeVector
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 85b401bd..953e8e02 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -965,7 +965,7 @@ Vector2D IHyprLayout::predictSizeForNewWindowFloating(PHLWINDOW pWindow) { // ge } if (!pWindow->m_ruleApplicator->static_.size.empty()) { - const auto SIZE = Desktop::Rule::parseRelativeVector(pWindow, pWindow->m_ruleApplicator->static_.size); + const auto SIZE = pWindow->calculateExpression(pWindow->m_ruleApplicator->static_.size); if (SIZE) return SIZE.value(); } |
