diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-12-27 12:43:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 12:43:45 +0100 |
| commit | 42447a50d6840c5e28bd58db1225bae2fd7d5ed0 (patch) | |
| tree | e73584ecd482bf5320a3e35f963a12787ce7cce5 /src/desktop/view/Window.hpp | |
| parent | d7f26038ee2b44f3d02fe2a7556bafb91a02f46e (diff) | |
rules/windowRuleApplicator: fix min/max size effects (#12491)
fixes #12412
Diffstat (limited to 'src/desktop/view/Window.hpp')
| -rw-r--r-- | src/desktop/view/Window.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp index d5c86aac..3c36283d 100644 --- a/src/desktop/view/Window.hpp +++ b/src/desktop/view/Window.hpp @@ -347,6 +347,8 @@ namespace Desktop::View { SP<CWLSurfaceResource> getSolitaryResource(); Vector2D getReportedSize(); std::optional<Vector2D> calculateExpression(const std::string& s); + std::optional<Vector2D> minSize(); + std::optional<Vector2D> maxSize(); CBox getWindowMainSurfaceBox() const { return {m_realPosition->value().x, m_realPosition->value().y, m_realSize->value().x, m_realSize->value().y}; |
