From 0d1a9e4ba9cd8f1a6a826c99f927fbc036f3aa3c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 25 Aug 2022 21:35:47 +0200 Subject: modify exit behaviour a bit --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index a37e993c..b131e59a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -61,7 +61,8 @@ int main(int argc, char** argv) { // If we are here it means we got yote. Debug::log(LOG, "Hyprland reached the end."); - g_pCompositor->cleanup(); + wl_display_destroy_clients(g_pCompositor->m_sWLDisplay); + wl_display_destroy(g_pCompositor->m_sWLDisplay); return EXIT_SUCCESS; } -- cgit v1.2.3