diff options
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
| -rw-r--r-- | src/layout/IHyprLayout.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp index c673b330..a0d5b2bb 100644 --- a/src/layout/IHyprLayout.hpp +++ b/src/layout/IHyprLayout.hpp @@ -15,7 +15,8 @@ struct SLayoutMessageHeader { enum eFullscreenMode : uint8_t; -enum eRectCorner { +enum eRectCorner +{ CORNER_NONE = 0, CORNER_TOPLEFT, CORNER_TOPRIGHT, @@ -123,6 +124,12 @@ class IHyprLayout { virtual void switchWindows(CWindow*, CWindow*) = 0; /* + Called when the user requests a window move in a direction. + The layout is free to ignore. + */ + virtual void moveWindowTo(CWindow*, const std::string& direction) = 0; + + /* Called when the user requests to change the splitratio by or to X on a window */ |
