dwm/patch/restartsig.c

17 lines
144 B
C
Raw Normal View History

2023-12-11 19:16:33 +01: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);
}