From 3f169a937a31e2a121e73a285b1db18e82837614 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 22 Jul 2022 12:37:44 +0200 Subject: [PATCH] fix wlr workspace names before init --- src/config/ConfigManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index b93c710f..32097a2b 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1157,6 +1157,11 @@ void CConfigManager::dispatchExecOnce() { // set input, fixes some certain issues g_pInputManager->setKeyboardLayout(); g_pInputManager->setMouseConfigs(); + + // set ws names again + for (auto& ws : g_pCompositor->m_vWorkspaces) { + wlr_ext_workspace_handle_v1_set_name(ws->m_pWlrHandle, ws->m_szName.c_str()); + } } void CConfigManager::performMonitorReload() {