mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 09:41:57 -07:00
workspaces: deactivate all on monitor switch
This commit is contained in:
@@ -509,7 +509,7 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal) {
|
||||
}
|
||||
|
||||
// set some flags and fire event
|
||||
POLDWORKSPACE->setActive(false);
|
||||
g_pCompositor->deactivateAllWLRWorkspaces();
|
||||
pWorkspace->setActive(true);
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{"workspace", pWorkspace->m_szName});
|
||||
EMIT_HOOK_EVENT("workspace", pWorkspace);
|
||||
|
Reference in New Issue
Block a user