diff options
author | simonb <simonb> | 2007-08-04 17:16:04 (GMT) |
---|---|---|
committer | simonb <simonb> | 2007-08-04 17:16:04 (GMT) |
commit | 138a3c2af1694c353531cebfb5342161af2f5b91 (patch) | |
tree | 72fe3bfe850a8f777e037a6b0e9310f26ede1e31 /src/fluxbox.cc | |
parent | 373e1c36fc62f891545affcc235ec512bf9ecb1e (diff) | |
download | fluxbox-138a3c2af1694c353531cebfb5342161af2f5b91.zip fluxbox-138a3c2af1694c353531cebfb5342161af2f5b91.tar.bz2 |
forward port systray fixes
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 248c897..80d055b 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -254,6 +254,7 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
254 | SignalHandler &sigh = SignalHandler::instance(); | 254 | SignalHandler &sigh = SignalHandler::instance(); |
255 | sigh.registerHandler(SIGSEGV, this); | 255 | sigh.registerHandler(SIGSEGV, this); |
256 | sigh.registerHandler(SIGFPE, this); | 256 | sigh.registerHandler(SIGFPE, this); |
257 | sigh.registerHandler(SIGPIPE, this); // e.g. output sent to grep | ||
257 | sigh.registerHandler(SIGTERM, this); | 258 | sigh.registerHandler(SIGTERM, this); |
258 | sigh.registerHandler(SIGINT, this); | 259 | sigh.registerHandler(SIGINT, this); |
259 | sigh.registerHandler(SIGCHLD, this); | 260 | sigh.registerHandler(SIGCHLD, this); |
@@ -1059,6 +1060,7 @@ void Fluxbox::handleSignal(int signum) { | |||
1059 | break; | 1060 | break; |
1060 | case SIGFPE: | 1061 | case SIGFPE: |
1061 | case SIGINT: | 1062 | case SIGINT: |
1063 | case SIGPIPE: | ||
1062 | case SIGTERM: | 1064 | case SIGTERM: |
1063 | shutdown(); | 1065 | shutdown(); |
1064 | break; | 1066 | break; |