mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-28 05:04:40 +03:00
fix workspace switching with damage
This commit is contained in:
parent
1789facddb
commit
c2b8c27bc5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user