aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-07 14:53:56 +0000
committerVaxry <[email protected]>2023-11-07 14:53:56 +0000
commit47654a84c2dc68d478d044fd0589ec5cc96dbc66 (patch)
tree0e1519c3f2dc8a9bc82f93deb7d9cfba21411858
parent29e0a7112ef5c412e4af640b9d80f80b81a26c94 (diff)
downloadHyprland-47654a84c2dc68d478d044fd0589ec5cc96dbc66.tar.gz
Hyprland-47654a84c2dc68d478d044fd0589ec5cc96dbc66.zip
main: set isShuttingDown after display dispatch reaches the end
relates to #3558
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
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();