From 78c0048b5cb571893de96b82f507d1c3abfa35df Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 2 Feb 2005 15:22:58 +0000 Subject: 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 --- src/fluxbox.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 3d6637b..821fbd1 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1072,13 +1072,13 @@ void Fluxbox::handleSignal(int signum) { 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(); -- cgit v0.11.2