aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index d739944..8b9e39a 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -255,6 +255,7 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
255 SignalHandler &sigh = SignalHandler::instance(); 255 SignalHandler &sigh = SignalHandler::instance();
256 sigh.registerHandler(SIGSEGV, this); 256 sigh.registerHandler(SIGSEGV, this);
257 sigh.registerHandler(SIGFPE, this); 257 sigh.registerHandler(SIGFPE, this);
258 sigh.registerHandler(SIGPIPE, this); // e.g. output sent to grep
258 sigh.registerHandler(SIGTERM, this); 259 sigh.registerHandler(SIGTERM, this);
259 sigh.registerHandler(SIGINT, this); 260 sigh.registerHandler(SIGINT, this);
260 sigh.registerHandler(SIGCHLD, this); 261 sigh.registerHandler(SIGCHLD, this);
@@ -1091,6 +1092,7 @@ void Fluxbox::handleSignal(int signum) {
1091 break; 1092 break;
1092 case SIGFPE: 1093 case SIGFPE:
1093 case SIGINT: 1094 case SIGINT:
1095 case SIGPIPE:
1094 case SIGTERM: 1096 case SIGTERM:
1095 shutdown(); 1097 shutdown();
1096 break; 1098 break;