mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 04:23:49 -07:00
keybinds: fix move to named
This commit is contained in:
@@ -1143,7 +1143,9 @@ void CKeybindManager::moveActiveTo(std::string args) {
|
|||||||
if (!PMONITORTOCHANGETO)
|
if (!PMONITORTOCHANGETO)
|
||||||
return;
|
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) {
|
void CKeybindManager::toggleGroup(std::string args) {
|
||||||
|
Reference in New Issue
Block a user