From 429853346fa7f7b415df11a2502f5beb1ad137ed Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 12 Apr 2022 21:00:46 +0200 Subject: [PATCH] set hidden and urgent flags for new workspaces --- src/helpers/Workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(wl_array_add(&m_wlrCoordinateArr, sizeof(int))) = (int)PMONITOR->vecPosition.x; *reinterpret_cast(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() {