Adding restartsig and emptyview patches

This commit is contained in:
bakkeby
2019-10-02 23:22:04 +02:00
parent 37b1b54ab9
commit 0a23ed6efd
8 changed files with 86 additions and 0 deletions

15
patch/restartsig.c Normal file
View 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);
}