summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-28 17:49:33 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-28 17:49:40 +0100
commit1f4eab176ef8978e022ea9367f9b7fb61273f163 (patch)
tree5b03bfdd54e5c97ae68c9cdbeafe54e43df316bd /src/layout/IHyprLayout.hpp
parent6d7dc70f663891ef39dcfb8ba8e5ff643b4d9ed8 (diff)
layout: don't discard fullscreen on new tiling
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
-rw-r--r--src/layout/IHyprLayout.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index 15acbc1d..32f95a22 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -13,9 +13,10 @@ struct SLayoutMessageHeader {
CWindow* pWindow = nullptr;
};
-enum eFullscreenMode : uint8_t;
+enum eFullscreenMode : int8_t;
-enum eRectCorner {
+enum eRectCorner
+{
CORNER_NONE = 0,
CORNER_TOPLEFT,
CORNER_TOPRIGHT,
@@ -23,9 +24,10 @@ enum eRectCorner {
CORNER_BOTTOMLEFT
};
-enum eDirection {
+enum eDirection
+{
DIRECTION_DEFAULT = -1,
- DIRECTION_UP = 0,
+ DIRECTION_UP = 0,
DIRECTION_RIGHT,
DIRECTION_DOWN,
DIRECTION_LEFT