mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-29 02:33:05 +03:00
workspaces: deactivate all on monitor switch
This commit is contained in:
parent
cf7c5e4dff
commit
8dd0c4fe74
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user