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);
|
waitpid(-1, 0, WNOHANG | WUNTRACED);
|
||||||
break;
|
break;
|
||||||
case SIGHUP:
|
case SIGHUP:
|
||||||
load_rc();
|
restart();
|
||||||
break;
|
break;
|
||||||
case SIGUSR1:
|
case SIGUSR1:
|
||||||
reload_rc();
|
load_rc();
|
||||||
break;
|
break;
|
||||||
case SIGUSR2:
|
case SIGUSR2:
|
||||||
rereadMenu();
|
reload_rc();
|
||||||
break;
|
break;
|
||||||
case SIGSEGV:
|
case SIGSEGV:
|
||||||
abort();
|
abort();
|
||||||
|
|
Loading…
Reference in a new issue