fix: handle SIGTERM for graceful graphical shutdown

Sending SIGTERM to X.org is necessary to avoid graphical lock-up.
This commit is contained in:
grialion
2026-01-17 12:33:25 +01:00
parent e615968a17
commit d07395c325
4 changed files with 35 additions and 2 deletions

3
include/signal_handler.h Normal file
View File

@@ -0,0 +1,3 @@
// handle SIGTERM by sending SIGTERM to all children, resulting
// in a graceful graphical shutdown
void setup_sigterm();