mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-19 13:41:42 +03:00
fix fatal crash
This commit is contained in:
parent
0055efc4f1
commit
042e79b888
@ -206,7 +206,7 @@ void CHyprDwindleLayout::onWindowCreated(CWindow* pWindow) {
|
||||
|
||||
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
|
||||
OPENINGON = getFirstNodeOnWorkspace(PNODE->workspaceID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user