dwm-flexipatch/patch/restartsig.c

17 lines
144 B
C
Raw Permalink Normal View History

2022-07-22 09:46:58 +02: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);
}