mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-27 11:29:49 +01:00
internal: don't iterate special workspaces in move
This commit is contained in:
parent
ac2cd0f0dc
commit
92fecb8ad4
1 changed files with 1 additions and 1 deletions
|
@ -1864,7 +1864,7 @@ void CCompositor::moveWorkspaceToMonitor(CWorkspace* pWorkspace, CMonitor* pMoni
|
|||
// fix old mon
|
||||
int nextWorkspaceOnMonitorID = -1;
|
||||
for (auto& w : m_vWorkspaces) {
|
||||
if (w->m_iMonitorID == POLDMON->ID && w->m_iID != pWorkspace->m_iID) {
|
||||
if (w->m_iMonitorID == POLDMON->ID && w->m_iID != pWorkspace->m_iID && !w->m_bIsSpecialWorkspace) {
|
||||
nextWorkspaceOnMonitorID = w->m_iID;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue