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
This commit is contained in:
mathias 2005-02-02 15:22:58 +00:00
parent 38e16876a8
commit 78c0048b5c

View file

@ -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();