mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 18:05:58 +01:00
dispatchers: fix movetoworkspace with bound ws-es
This commit is contained in:
parent
25f14294a8
commit
b6a7be7663
1 changed files with 1 additions and 1 deletions
|
@ -884,8 +884,8 @@ void CKeybindManager::moveActiveToWorkspace(std::string args) {
|
|||
g_pCompositor->setActiveMonitor(PMONITOR);
|
||||
PMONITOR->changeWorkspace(pWorkspace);
|
||||
} else {
|
||||
const auto PMONITOR = g_pCompositor->getMonitorFromID(PWINDOW->m_iMonitorID);
|
||||
pWorkspace = g_pCompositor->createNewWorkspace(WORKSPACEID, PWINDOW->m_iMonitorID, workspaceName);
|
||||
const auto PMONITOR = g_pCompositor->getMonitorFromID(pWorkspace->m_iMonitorID);
|
||||
g_pCompositor->moveWindowToWorkspaceSafe(PWINDOW, pWorkspace);
|
||||
PMONITOR->changeWorkspace(pWorkspace);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue