monitor: recalc layout on switched ws
This commit is contained in:
parent
edad24c257
commit
afc887d941
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,8 @@ void CMonitor::changeWorkspace(CWorkspace* const pWorkspace, bool internal) {
|
||||||
g_pInputManager->refocus();
|
g_pInputManager->refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);
|
||||||
|
|
||||||
// set some flags and fire event
|
// set some flags and fire event
|
||||||
g_pCompositor->deactivateAllWLRWorkspaces(pWorkspace->m_pWlrHandle);
|
g_pCompositor->deactivateAllWLRWorkspaces(pWorkspace->m_pWlrHandle);
|
||||||
pWorkspace->setActive(true);
|
pWorkspace->setActive(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue