summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-12 21:00:46 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-12 21:00:46 +0200
commit429853346fa7f7b415df11a2502f5beb1ad137ed (patch)
tree7fca2c0b53f3f191d08d48fae6b674fc74164a13 /src/helpers/Workspace.cpp
parentc68eaafd16c3fde76b2376087f99c922c5a68478 (diff)
set hidden and urgent flags for new workspaces
Diffstat (limited to 'src/helpers/Workspace.cpp')
-rw-r--r--src/helpers/Workspace.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/Workspace.cpp b/src/helpers/Workspace.cpp
index 8c535941..0d5f77e1 100644
--- a/src/helpers/Workspace.cpp
+++ b/src/helpers/Workspace.cpp
@@ -18,6 +18,8 @@ CWorkspace::CWorkspace(int monitorID) {
*reinterpret_cast<int*>(wl_array_add(&m_wlrCoordinateArr, sizeof(int))) = (int)PMONITOR->vecPosition.x;
*reinterpret_cast<int*>(wl_array_add(&m_wlrCoordinateArr, sizeof(int))) = (int)PMONITOR->vecPosition.y;
wlr_ext_workspace_handle_v1_set_coordinates(m_pWlrHandle, &m_wlrCoordinateArr);
+ wlr_ext_workspace_handle_v1_set_hidden(m_pWlrHandle, false);
+ wlr_ext_workspace_handle_v1_set_urgent(m_pWlrHandle, false);
}
CWorkspace::~CWorkspace() {