From 47654a84c2dc68d478d044fd0589ec5cc96dbc66 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 7 Nov 2023 14:53:56 +0000 Subject: [PATCH] main: set isShuttingDown after display dispatch reaches the end relates to #3558 --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 9f8d61fc..40ddf390 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -104,6 +104,8 @@ int main(int argc, char** argv) { // If all's good to go, start. g_pCompositor->startCompositor(); + g_pCompositor->m_bIsShuttingDown = true; + // If we are here it means we got yote. Debug::log(LOG, "Hyprland reached the end."); g_pCompositor.reset();