diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 20:46:20 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 20:46:20 +0200 |
| commit | bdf1c1619529792e95cd6cf2aa1d68e51db76252 (patch) | |
| tree | c1fc311647342d21ba49707651ce70e654aa7b81 /src/layout/IHyprLayout.hpp | |
| parent | b1b24cb21a36713aa7c8c0d39464504c97423139 (diff) | |
Added IHyprWindowDecoration and Group Bars
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
| -rw-r--r-- | src/layout/IHyprLayout.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp index 71f30e3d..01e3e04a 100644 --- a/src/layout/IHyprLayout.hpp +++ b/src/layout/IHyprLayout.hpp @@ -74,9 +74,10 @@ public: /* Called when a dispatcher requests a custom message - The layout is free to ignore. + The layout is free to ignore. + std::any is the reply. Can be empty. */ - virtual void layoutMessage(SLayoutMessageHeader, std::string) = 0; + virtual std::any layoutMessage(SLayoutMessageHeader, std::string) = 0; /* Required to be handled, but may return just SWindowRenderLayoutHints() @@ -96,4 +97,9 @@ public: on a window */ virtual void alterSplitRatioBy(CWindow*, float) = 0; + + /* + Called when something wants the current layout's name + */ + virtual std::string getLayoutName() = 0; };
\ No newline at end of file |
