dwm/patch/restartsig.c

15 lines
142 B
C
Raw Normal View History

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