mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-05-07 19:28:00 +02:00
fix(hyprexpo): use changeWorkspace method from monitor
This commit is contained in:
parent
d6c37add26
commit
1c2afb62f8
1 changed files with 2 additions and 2 deletions
|
|
@ -393,9 +393,9 @@ void COverview::close() {
|
|||
const auto OLDWS = pMonitor->m_activeWorkspace;
|
||||
|
||||
if (!NEWIDWS)
|
||||
g_pKeybindManager->changeworkspace(std::to_string(NEWID));
|
||||
pMonitor->changeWorkspace(NEWID);
|
||||
else
|
||||
g_pKeybindManager->changeworkspace(NEWIDWS->getConfigName());
|
||||
pMonitor->changeWorkspace(NEWIDWS);
|
||||
|
||||
g_pDesktopAnimationManager->startAnimation(pMonitor->m_activeWorkspace, CDesktopAnimationManager::ANIMATION_TYPE_IN, true, true);
|
||||
g_pDesktopAnimationManager->startAnimation(OLDWS, CDesktopAnimationManager::ANIMATION_TYPE_OUT, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue