mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
compositor: minor cleanup
This commit is contained in:
parent
942ee943f5
commit
ebc5fed9b2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user