fix recursion bomb

This commit is contained in:
vaxerski 2022-08-03 17:32:12 +02:00
parent 9991db159c
commit 587330d864

View File

@ -776,7 +776,7 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR
if (pMonitor->m_bEnabled)
pMonitor->onDisconnect();
return false;
return true;
}
if (!pMonitor->m_bEnabled) {