From ebc5fed9b2e1150a9ddef79a9478befd4d90c55b Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 19 Aug 2023 19:24:48 +0200 Subject: [PATCH] compositor: minor cleanup --- src/Compositor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index f39ae640..05b4124d 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -12,11 +12,10 @@ int handleCritSignal(int signo, void* data) { Debug::log(LOG, "Hyprland received signal %d", signo); - if (signo == SIGTERM || signo == SIGINT || signo == SIGKILL) { + if (signo == SIGTERM || signo == SIGINT || signo == SIGKILL) g_pCompositor->cleanup(); - } - return 0; // everything went fine + return 0; } void handleUnrecoverableSignal(int sig) {