From c2b8c27bc59c1499841e367167510d4be4b27c5c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 14 Apr 2022 20:08:39 +0200 Subject: [PATCH] fix workspace switching with damage --- src/managers/KeybindManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index dbb5fa06..1d3379c3 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -198,6 +198,9 @@ void CKeybindManager::changeworkspace(std::string args) { g_pCompositor->deactivateAllWLRWorkspaces(); wlr_ext_workspace_handle_v1_set_active(PWORKSPACE->m_pWlrHandle, true); + // mark the monitor dirty + g_pHyprRenderer->damageMonitor(PMONITOR); + Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo); }