From 1c2afb62f84ea32b33fb8990c16befac495b70cb Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 28 Apr 2026 23:40:58 -0400 Subject: [PATCH] fix(hyprexpo): use changeWorkspace method from monitor --- hyprexpo/overview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyprexpo/overview.cpp b/hyprexpo/overview.cpp index ac48816..e3e8ca0 100644 --- a/hyprexpo/overview.cpp +++ b/hyprexpo/overview.cpp @@ -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);