changed SIGNAL handling to: SIGHUP: restartfluxbox SIGUSR1: load configuration SIGUSR2: reload configuration TODO: whats the essential difference between "loading" and "reloading"? maybe we can drop one of that functions
mathias mathias
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -1072,13 +1072,13 @@ case SIGCHLD: // we don't want the child process to kill us
waitpid(-1, 0, WNOHANG | WUNTRACED); break; case SIGHUP: - load_rc(); + restart(); break; case SIGUSR1: - reload_rc(); + load_rc(); break; case SIGUSR2: - rereadMenu(); + reload_rc(); break; case SIGSEGV: abort();