X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3lock.c;h=581ea103fb9ba3e6f5278e185a41ed53640dd5c2;hb=d8a1da69fbd91e71ef524a27b0f0752160b3aade;hp=df07d903e65264fdb116b9fdf0a8688d82797bc2;hpb=006f9d3d7dbeb0dd00fa616f279d1eb9c5f59729;p=i3%2Fi3lock diff --git a/i3lock.c b/i3lock.c index df07d90..581ea10 100644 --- a/i3lock.c +++ b/i3lock.c @@ -478,6 +478,8 @@ static void xcb_check_cb(EV_P_ ev_check *w, int revents) { /* In the parent process, we exit */ if (fork() != 0) exit(0); + + ev_loop_fork(EV_DEFAULT); } break;