From: Dana Jansens Date: Wed, 10 Jul 2002 22:29:57 +0000 (+0000) Subject: restart the window manager on a SIGHUP X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cac80d06ef93fac0b4d39ec28fada1076f5bf28d;p=chaz%2Fopenbox restart the window manager on a SIGHUP --- diff --git a/src/blackbox.cc b/src/blackbox.cc index 9eddcfdf..6bd47f9c 100644 --- a/src/blackbox.cc +++ b/src/blackbox.cc @@ -972,6 +972,9 @@ void Blackbox::process_event(XEvent *e) { bool Blackbox::handleSignal(int sig) { switch (sig) { case SIGHUP: + restart(); + break; + case SIGUSR1: reconfigure(); break;