]> Dogcows Code - chaz/openbox/commitdiff
make it shutdown on signals
authorDana Jansens <danakj@orodu.net>
Sun, 3 Nov 2002 12:58:17 +0000 (12:58 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 3 Nov 2002 12:58:17 +0000 (12:58 +0000)
src/openbox.cc

index 1af59c25fbce1ea575adb84a06050a55a5a32f22..4aac9ba51d9995beab78b1c2ef6660909701cf33 100644 (file)
@@ -71,7 +71,8 @@ void Openbox::signalHandler(int signal)
   case SIGTERM:
   case SIGPIPE:
     printf("Caught signal %d. Exiting.", signal);
-    // XXX: Make Openbox exit
+    instance->shutdown();
+
     break;
   case SIGFPE:
   case SIGSEGV:
This page took 0.025848 seconds and 4 git commands to generate.