mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-16 03:03:40 +01:00
Hy3Layout::applyNodeDataToWindow: when looking for the monitor associated with a node's workspace, allow for a special workspace which isn't yet emplaced on a monitor but is still set
This commit is contained in:
parent
782f32e83d
commit
70f77fd224
1 changed files with 3 additions and 1 deletions
|
@ -1551,7 +1551,9 @@ void Hy3Layout::applyNodeDataToWindow(Hy3Node* node, bool no_animation) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
|
||||||
|
if (monitor == nullptr) {
|
||||||
monitor = g_pCompositor->getMonitorFromID(
|
monitor = g_pCompositor->getMonitorFromID(
|
||||||
g_pCompositor->getWorkspaceByID(node->workspace_id)->m_iMonitorID
|
g_pCompositor->getWorkspaceByID(node->workspace_id)->m_iMonitorID
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue