summaryrefslogtreecommitdiff
path: root/i3lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'i3lock.c')
-rw-r--r--i3lock.c2
1 files changed, 2 insertions, 0 deletions
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;