mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-03 01:42:38 +03:00
fix anims with special workspace
This commit is contained in:
parent
213d0f25cf
commit
2cdb29aa10
@ -883,7 +883,10 @@ void CKeybindManager::toggleSpecialWorkspace(std::string args) {
|
|||||||
g_pCompositor->m_pLastMonitor->specialWorkspaceOpen = true;
|
g_pCompositor->m_pLastMonitor->specialWorkspaceOpen = true;
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(g_pCompositor->m_pLastMonitor->ID);
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(g_pCompositor->m_pLastMonitor->ID);
|
||||||
|
|
||||||
g_pCompositor->getWorkspaceByID(SPECIAL_WORKSPACE_ID)->startAnim(true, true);
|
const auto PSPECIALWORKSPACE = g_pCompositor->getWorkspaceByID(SPECIAL_WORKSPACE_ID);
|
||||||
|
|
||||||
|
PSPECIALWORKSPACE->startAnim(true, true);
|
||||||
|
PSPECIALWORKSPACE->m_iMonitorID = g_pCompositor->m_pLastMonitor->ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pInputManager->refocus();
|
g_pInputManager->refocus();
|
||||||
|
Loading…
Reference in New Issue
Block a user