diff options
author | vaxerski <[email protected]> | 2022-06-08 15:52:38 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-06-08 15:52:38 +0200 |
commit | 8f0b963729fbce703222defdb1598bdb6f08849e (patch) | |
tree | 1f90ee6584c2541f8e19a0620140e8cf42fbb9fa | |
parent | 7b73570f11c61aa87b6052e5687dc612510ff575 (diff) | |
download | Hyprland-8f0b963729fbce703222defdb1598bdb6f08849e.tar.gz Hyprland-8f0b963729fbce703222defdb1598bdb6f08849e.zip |
refocus after movetoworkspace
-rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index c3f65b3d..ba4fa9b8 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -413,6 +413,8 @@ void CKeybindManager::moveActiveToWorkspace(std::string args) { for (auto& m : g_pCompositor->m_lMonitors) m.specialWorkspaceOpen = false; } + + g_pInputManager->refocus(); } void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) { @@ -469,6 +471,8 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) { POLDWORKSPACEONMON->m_fAlpha.setValueAndWarp(255.f); m_bSuppressWorkspaceChangeEvents = false; + + g_pInputManager->refocus(); } void CKeybindManager::moveFocusTo(std::string args) { |