From 587330d864925e63f41c15a5cef5d4d6c3a5b6c4 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 3 Aug 2022 17:32:12 +0200 Subject: [PATCH] fix recursion bomb --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index b479c168..acd74203 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -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) {