summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Workspace.hpp')
-rw-r--r--src/helpers/Workspace.hpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index d4ec5b05..465c385b 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -2,8 +2,16 @@
#include "../defines.hpp"
-struct SWorkspace {
- int ID = -1;
- uint64_t monitorID = -1;
- bool hasFullscreenWindow = false;
+class CWorkspace {
+public:
+ CWorkspace(int monitorID);
+ ~CWorkspace();
+
+ int m_iID = -1;
+ uint64_t m_iMonitorID = -1;
+ bool m_bHasFullscreenWindow = false;
+
+ wlr_ext_workspace_handle_v1* m_pWlrHandle = nullptr;
+
+ wl_array m_wlrCoordinateArr;
}; \ No newline at end of file