summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-29 15:44:30 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-29 15:45:51 +0200
commit227cbb0464bbf211f9d5ec7f6fa8e1bba0aecd12 (patch)
tree99e04d68d0fa6521201a7645a9b8c5ee83f6d736 /src/helpers/Workspace.hpp
parentfdb3f610e564c644ab0fc7fd154562258350084a (diff)
Added fullscreen types, maximize and full
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;