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:
parent
38e16876a8
commit
78c0048b5c
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue