summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/Algorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/algorithm/Algorithm.hpp')
-rw-r--r--src/layout/algorithm/Algorithm.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/algorithm/Algorithm.hpp b/src/layout/algorithm/Algorithm.hpp
index 61c40285..c4a1d2e0 100644
--- a/src/layout/algorithm/Algorithm.hpp
+++ b/src/layout/algorithm/Algorithm.hpp
@@ -5,6 +5,7 @@
#include "../../helpers/memory/Memory.hpp"
#include "../LayoutManager.hpp"
+#include "../space/Space.hpp"
#include <expected>
#include <optional>
@@ -34,7 +35,7 @@ namespace Layout {
Config::ErrorResult layoutMsg(const std::string_view& sv);
std::optional<Vector2D> predictSizeForNewTiledTarget();
- void recalculate();
+ void recalculate(eRecalculateReason reason = RECALCULATE_REASON_UNKNOWN);
void recenter(SP<ITarget> t);
void resizeTarget(const Vector2D& Δ, SP<ITarget> target, eRectCorner corner = CORNER_NONE);