diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-16 17:37:46 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-16 17:37:46 +0200 |
| commit | 50f978e518c83872a25a47b5ddde310ec24ac203 (patch) | |
| tree | e7632acf6ea22eae66fd1262e834212ff197fdf4 /src/layout/IHyprLayout.hpp | |
| parent | e90c1f7022ffd82e463c48260a97850c834f347d (diff) | |
Added togglesplit dispatcher
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
| -rw-r--r-- | src/layout/IHyprLayout.hpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp index 2f569b6e..71f30e3d 100644 --- a/src/layout/IHyprLayout.hpp +++ b/src/layout/IHyprLayout.hpp @@ -8,6 +8,10 @@ struct SWindowRenderLayoutHints { CColor borderColor; }; +struct SLayoutMessageHeader { + CWindow* pWindow = nullptr; +}; + interface IHyprLayout { public: @@ -69,16 +73,10 @@ public: virtual void fullscreenRequestForWindow(CWindow*) = 0; /* - Called when the user requests a window to be made into a group, - or when they want the group to be released. - Everything else is free to interpret by the layout. - */ - virtual void toggleWindowGroup(CWindow*) = 0; - - /* - Called when the user requests a group window switch + Called when a dispatcher requests a custom message + The layout is free to ignore. */ - virtual void switchGroupWindow(CWindow*) = 0; + virtual void layoutMessage(SLayoutMessageHeader, std::string) = 0; /* Required to be handled, but may return just SWindowRenderLayoutHints() |
