dwm-flexipatch-zombie/patch/restartsig.c

15 lines
142 B
C
Raw Permalink Normal View History

2021-06-10 23:20:40 -04:00
static int restart = 0;
void
sighup(int unused)
{
Arg a = {.i = 1};
quit(&a);
}
void
sigterm(int unused)
{
Arg a = {.i = 0};
quit(&a);
}