Adding restartsig and emptyview patches
This commit is contained in:
15
patch/restartsig.c
Normal file
15
patch/restartsig.c
Normal file
@@ -0,0 +1,15 @@
|
||||
static int restart = 0;
|
||||
|
||||
void
|
||||
sighup(int unused)
|
||||
{
|
||||
Arg a = {.i = 1};
|
||||
quit(&a);
|
||||
}
|
||||
|
||||
void
|
||||
sigterm(int unused)
|
||||
{
|
||||
Arg a = {.i = 0};
|
||||
quit(&a);
|
||||
}
|
Reference in New Issue
Block a user