summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/ModeAlgorithm.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-28 15:56:07 +0100
committerGitHub <noreply@github.com>2026-04-28 15:56:07 +0100
commit98fbbafef78057c818fb02b15c27e38ad2f5b5bc (patch)
treec62aa1eae704e7595d58f7edeb3804e8bfd0099d /src/layout/algorithm/ModeAlgorithm.hpp
parentd4c6ff434c5c7aa66bc7c28e5ce336d2a694bfcc (diff)
config/errors: Report and categorize errors properly for actions (#14192)
Makes all errors categorized, some not displayed, some displayed. All errors can be obtained after hl.dispatch()
Diffstat (limited to 'src/layout/algorithm/ModeAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/ModeAlgorithm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/algorithm/ModeAlgorithm.hpp b/src/layout/algorithm/ModeAlgorithm.hpp
index 0fedc3da..e53d4391 100644
--- a/src/layout/algorithm/ModeAlgorithm.hpp
+++ b/src/layout/algorithm/ModeAlgorithm.hpp
@@ -39,7 +39,7 @@ namespace Layout {
virtual void moveTargetInDirection(SP<ITarget> t, Math::eDirection dir, bool silent) = 0;
// optional: handle layout messages
- virtual std::expected<void, std::string> layoutMsg(const std::string_view& sv);
+ virtual Config::ErrorResult layoutMsg(const std::string_view& sv);
// optional: predict new window's size
virtual std::optional<Vector2D> predictSizeForNewTarget();
@@ -54,4 +54,4 @@ namespace Layout {
friend class Layout::CAlgorithm;
};
-} \ No newline at end of file
+}