i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit d8a1da69fbd91e71ef524a27b0f0752160b3aade
parent 006f9d3d7dbeb0dd00fa616f279d1eb9c5f59729
Author: Baptiste Daroussin <bapt@FreeBSD.org>
Date:   Wed, 20 Mar 2013 17:48:21 +0100

Use ev_loop_fork after fork, this fix forking on kqueue based OSes

Diffstat:
Mi3lock.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;