remove tiling node when invalid

This commit is contained in:
vaxerski 2022-08-31 11:14:33 +02:00
parent 7f483dfdb0
commit 21a1b62b6a

View file

@ -161,6 +161,7 @@ void CHyprDwindleLayout::applyNodeDataToWindow(SDwindleNodeData* pNode, bool for
if (!g_pCompositor->windowExists(PWINDOW) || !PWINDOW->m_bIsMapped) {
Debug::log(ERR, "Node %x holding invalid window %x!!", pNode, PWINDOW);
onWindowRemovedTiling(PWINDOW);
return;
}