From ad80ef0f667e3b72d9e35d7a93451a1e2dfa0ab6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 3 Nov 2002 12:58:17 +0000 Subject: [PATCH] make it shutdown on signals --- src/openbox.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openbox.cc b/src/openbox.cc index 1af59c25..4aac9ba5 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -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: -- 2.45.2