fix fatal crash
This commit is contained in:
parent
0055efc4f1
commit
042e79b888
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ void CHyprDwindleLayout::onWindowCreated(CWindow* pWindow) {
|
||||||
|
|
||||||
Debug::log(LOG, "OPENINGON: %x, Workspace: %i, Monitor: %i", OPENINGON, PNODE->workspaceID, PMONITOR->ID);
|
Debug::log(LOG, "OPENINGON: %x, Workspace: %i, Monitor: %i", OPENINGON, PNODE->workspaceID, PMONITOR->ID);
|
||||||
|
|
||||||
if (OPENINGON->workspaceID != PNODE->workspaceID) {
|
if (OPENINGON && OPENINGON->workspaceID != PNODE->workspaceID) {
|
||||||
// special workspace handling
|
// special workspace handling
|
||||||
OPENINGON = getFirstNodeOnWorkspace(PNODE->workspaceID);
|
OPENINGON = getFirstNodeOnWorkspace(PNODE->workspaceID);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue