Added zext_workspace protocol support 🎉

This commit is contained in:
vaxerski
2022-04-11 19:51:37 +02:00
parent b56343133d
commit a8e8729230
21 changed files with 1236 additions and 49 deletions

View File

@@ -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;
};