2022-03-20 15:55:47 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../defines.hpp"
|
|
|
|
|
2022-04-11 19:51:37 +02:00
|
|
|
class CWorkspace {
|
|
|
|
public:
|
|
|
|
CWorkspace(int monitorID);
|
|
|
|
~CWorkspace();
|
|
|
|
|
2022-04-21 16:38:48 +02:00
|
|
|
// Workspaces ID-based have IDs > 0
|
|
|
|
// and workspaces name-based have IDs starting with -1337
|
2022-04-11 19:51:37 +02:00
|
|
|
int m_iID = -1;
|
2022-04-21 16:38:48 +02:00
|
|
|
std::string m_szName = "";
|
2022-04-11 19:51:37 +02:00
|
|
|
uint64_t m_iMonitorID = -1;
|
|
|
|
bool m_bHasFullscreenWindow = false;
|
|
|
|
|
|
|
|
wlr_ext_workspace_handle_v1* m_pWlrHandle = nullptr;
|
|
|
|
|
|
|
|
wl_array m_wlrCoordinateArr;
|
2022-03-20 15:55:47 +01:00
|
|
|
};
|