aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-29 15:44:30 +0200
committervaxerski <[email protected]>2022-05-29 15:44:30 +0200
commit9842730f570b118275191fd2b3e8910648ab7b05 (patch)
treee7e8d4e410ce41f0c1af00372dc45d0fa5ea09d0 /src/helpers/Workspace.hpp
parentd0ff0c0990db230999cc918f1d6230c4a18d08c8 (diff)
downloadHyprland-9842730f570b118275191fd2b3e8910648ab7b05.tar.gz
Hyprland-9842730f570b118275191fd2b3e8910648ab7b05.zip
Added fullscreen types, maximize and fulltransforms
Diffstat (limited to 'src/helpers/Workspace.hpp')
-rw-r--r--src/helpers/Workspace.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index 683f03ae..c60eedfb 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -3,6 +3,11 @@
#include "../defines.hpp"
#include "AnimatedVariable.hpp"
+enum eFullscreenMode : uint8_t {
+ FULLSCREEN_FULL = 0,
+ FULLSCREEN_MAXIMIZED
+};
+
class CWorkspace {
public:
CWorkspace(int monitorID);
@@ -14,6 +19,7 @@ public:
std::string m_szName = "";
uint64_t m_iMonitorID = -1;
bool m_bHasFullscreenWindow = false;
+ eFullscreenMode m_efFullscreenMode = FULLSCREEN_FULL;
wlr_ext_workspace_handle_v1* m_pWlrHandle = nullptr;