mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 20:05:59 +01:00
refocus after movetoworkspace
This commit is contained in:
parent
7b73570f11
commit
8f0b963729
1 changed files with 4 additions and 0 deletions
|
@ -413,6 +413,8 @@ void CKeybindManager::moveActiveToWorkspace(std::string args) {
|
||||||
for (auto& m : g_pCompositor->m_lMonitors)
|
for (auto& m : g_pCompositor->m_lMonitors)
|
||||||
m.specialWorkspaceOpen = false;
|
m.specialWorkspaceOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_pInputManager->refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
|
void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
|
||||||
|
@ -469,6 +471,8 @@ void CKeybindManager::moveActiveToWorkspaceSilent(std::string args) {
|
||||||
POLDWORKSPACEONMON->m_fAlpha.setValueAndWarp(255.f);
|
POLDWORKSPACEONMON->m_fAlpha.setValueAndWarp(255.f);
|
||||||
|
|
||||||
m_bSuppressWorkspaceChangeEvents = false;
|
m_bSuppressWorkspaceChangeEvents = false;
|
||||||
|
|
||||||
|
g_pInputManager->refocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CKeybindManager::moveFocusTo(std::string args) {
|
void CKeybindManager::moveFocusTo(std::string args) {
|
||||||
|
|
Loading…
Reference in a new issue