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 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;