mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 21:06:01 +01:00
keybinds: fix move to named
This commit is contained in:
parent
28ca434fb5
commit
4a1fb3e903
1 changed files with 3 additions and 1 deletions
|
@ -1143,7 +1143,9 @@ void CKeybindManager::moveActiveTo(std::string args) {
|
|||
if (!PMONITORTOCHANGETO)
|
||||
return;
|
||||
|
||||
moveActiveToWorkspace(std::to_string(PMONITORTOCHANGETO->activeWorkspace));
|
||||
const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITORTOCHANGETO->activeWorkspace);
|
||||
|
||||
moveActiveToWorkspace(PMONITORTOCHANGETO->activeWorkspace < 0 ? "name:" + PWORKSPACE->m_szName : std::to_string(PMONITORTOCHANGETO->activeWorkspace));
|
||||
}
|
||||
|
||||
void CKeybindManager::toggleGroup(std::string args) {
|
||||
|
|
Loading…
Reference in a new issue