restart the window manager on a SIGHUP
This commit is contained in:
parent
9e99a9a1e2
commit
cac80d06ef
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue