aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2007-08-04 17:14:13 (GMT)
committersimonb <simonb>2007-08-04 17:14:13 (GMT)
commitb27336033143158acbde1d2f36977dd25c10ab96 (patch)
tree7e7ac6b5e6fa892ad646d86d0c61dbce0fa05d9e /src/fluxbox.cc
parentc144b7344d1724e9f9a9ed282b564598fe850fba (diff)
downloadfluxbox_pavel-b27336033143158acbde1d2f36977dd25c10ab96.zip
fluxbox_pavel-b27336033143158acbde1d2f36977dd25c10ab96.tar.bz2
Fix system tray restart issues
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;