diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-03-20 17:48:21 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-03-20 21:28:14 +0100 |
commit | d8a1da69fbd91e71ef524a27b0f0752160b3aade (patch) | |
tree | 1fa413490b7b088c511b444ff27872b7e3b181ac | |
parent | 006f9d3d7dbeb0dd00fa616f279d1eb9c5f59729 (diff) |
Use ev_loop_fork after fork, this fix forking on kqueue based OSes
-rw-r--r-- | i3lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |