mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 16:05:58 +01:00
fix special workspace dispatcher logic
This commit is contained in:
parent
abb6db9c37
commit
696253b348
1 changed files with 3 additions and 3 deletions
|
@ -589,7 +589,7 @@ void CKeybindManager::changeworkspace(std::string args) {
|
|||
if (!*PALLOWWORKSPACECYCLES)
|
||||
PCURRENTWORKSPACE->m_iPrevWorkspaceID = -1;
|
||||
|
||||
} else if (PCURRENTWORKSPACE->m_iID == workspaceToChangeTo)
|
||||
} else if (PCURRENTWORKSPACE->m_iID == workspaceToChangeTo && !internal)
|
||||
return;
|
||||
|
||||
// remove constraints
|
||||
|
@ -840,10 +840,10 @@ void CKeybindManager::moveActiveToWorkspace(std::string args) {
|
|||
|
||||
for (auto& m : g_pCompositor->m_vMonitors)
|
||||
m->specialWorkspaceOpen = false;
|
||||
} else {
|
||||
g_pCompositor->focusWindow(PWINDOW);
|
||||
}
|
||||
|
||||
g_pCompositor->focusWindow(PWINDOW);
|
||||
|
||||
PWINDOW->updateToplevel();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue