diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-08-19 19:24:48 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-08-19 19:24:48 +0200 |
| commit | ebc5fed9b2e1150a9ddef79a9478befd4d90c55b (patch) | |
| tree | 33ce11e6ba7fe8a0a56c97c0cd3aacdb67bc0437 /src/Compositor.cpp | |
| parent | 942ee943f5b0f3f9611b2ff5481dacf19aed6a17 (diff) | |
compositor: minor cleanup
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 5 |
1 files 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) { |
