rule: nuke parseRelativeVector
This commit is contained in:
parent
1c29d6b1ba
commit
7532115318
3 changed files with 2 additions and 25 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue