fix workspace switching with damage

This commit is contained in:
vaxerski 2022-04-14 20:08:39 +02:00
parent 1789facddb
commit c2b8c27bc5

View file

@ -198,6 +198,9 @@ void CKeybindManager::changeworkspace(std::string args) {
g_pCompositor->deactivateAllWLRWorkspaces(); g_pCompositor->deactivateAllWLRWorkspaces();
wlr_ext_workspace_handle_v1_set_active(PWORKSPACE->m_pWlrHandle, true); 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); Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo);
} }