diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-03 10:09:42 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-03 10:09:48 +0100 |
| commit | 347b83903474ab9e95fa9d4ba123f6f78ab38d40 (patch) | |
| tree | cc5a355120ed3a07c85af428c91b63e10674dff8 /src/desktop/Workspace.cpp | |
| parent | fbdaf74a82b38e11a0a6914b3c9f7cb934ac1624 (diff) | |
workspaces: add visible flag
Diffstat (limited to 'src/desktop/Workspace.cpp')
| -rw-r--r-- | src/desktop/Workspace.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index 8e49c998..1df18c3b 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -9,13 +9,6 @@ PHLWORKSPACE CWorkspace::create(int id, int monitorID, std::string name, bool sp } CWorkspace::CWorkspace(int id, int monitorID, std::string name, bool special) { - const auto PMONITOR = g_pCompositor->getMonitorFromID(monitorID); - - if (!PMONITOR) { - Debug::log(ERR, "Attempted a creation of CWorkspace with an invalid monitor?"); - return; - } - m_iMonitorID = monitorID; m_iID = id; m_szName = name; |
