dwm/patch/restartsig.c
2019-10-02 23:22:04 +02:00

15 lines
142 B
C

static int restart = 0;
void
sighup(int unused)
{
Arg a = {.i = 1};
quit(&a);
}
void
sigterm(int unused)
{
Arg a = {.i = 0};
quit(&a);
}