diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-29 15:44:30 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-29 15:44:30 +0200 |
| commit | 9842730f570b118275191fd2b3e8910648ab7b05 (patch) | |
| tree | e7e8d4e410ce41f0c1af00372dc45d0fa5ea09d0 /src/layout/DwindleLayout.hpp | |
| parent | d0ff0c0990db230999cc918f1d6230c4a18d08c8 (diff) | |
Added fullscreen types, maximize and full
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
| -rw-r--r-- | src/layout/DwindleLayout.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp index 4abd04ef..492a52a3 100644 --- a/src/layout/DwindleLayout.hpp +++ b/src/layout/DwindleLayout.hpp @@ -6,6 +6,7 @@ #include "../render/decorations/CHyprGroupBarDecoration.hpp" class CHyprDwindleLayout; +enum eFullscreenMode : uint8_t; struct SDwindleNodeData { SDwindleNodeData* pParent = nullptr; @@ -50,7 +51,7 @@ public: virtual void onEndDragWindow(); virtual void onMouseMove(const Vector2D&); virtual void onWindowCreatedFloating(CWindow*); - virtual void fullscreenRequestForWindow(CWindow*); + virtual void fullscreenRequestForWindow(CWindow*, eFullscreenMode); virtual std::any layoutMessage(SLayoutMessageHeader, std::string); virtual SWindowRenderLayoutHints requestRenderHints(CWindow*); virtual void switchWindows(CWindow*, CWindow*); |
