diff options
author | mathias <mathias> | 2005-02-02 15:22:58 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-02-02 15:22:58 (GMT) |
commit | 78c0048b5cb571893de96b82f507d1c3abfa35df (patch) | |
tree | 84c04e7c0a1f6c3987522efe3ff2d77ddb4f3eab /src/fluxbox.cc | |
parent | 38e16876a896e972092f7c4c2d6aeb1cb851520d (diff) | |
download | fluxbox-78c0048b5cb571893de96b82f507d1c3abfa35df.zip fluxbox-78c0048b5cb571893de96b82f507d1c3abfa35df.tar.bz2 |
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
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 6 |
1 files 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) { | |||
1072 | waitpid(-1, 0, WNOHANG | WUNTRACED); | 1072 | waitpid(-1, 0, WNOHANG | WUNTRACED); |
1073 | break; | 1073 | break; |
1074 | case SIGHUP: | 1074 | case SIGHUP: |
1075 | load_rc(); | 1075 | restart(); |
1076 | break; | 1076 | break; |
1077 | case SIGUSR1: | 1077 | case SIGUSR1: |
1078 | reload_rc(); | 1078 | load_rc(); |
1079 | break; | 1079 | break; |
1080 | case SIGUSR2: | 1080 | case SIGUSR2: |
1081 | rereadMenu(); | 1081 | reload_rc(); |
1082 | break; | 1082 | break; |
1083 | case SIGSEGV: | 1083 | case SIGSEGV: |
1084 | abort(); | 1084 | abort(); |