dwm/patch/restartsig.c
2021-06-14 08:54:23 +03:00

17 lines
144 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);
}