From: Axel Wagner Date: Thu, 6 Jan 2011 16:35:23 +0000 (+0100) Subject: Bugfix: If hide-on-modifier is set, stop the child after starting X-Git-Tag: 4.0.1~7^2~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd4b77ab724a9e608eb2943cc189239087d4d26e;p=i3%2Fi3 Bugfix: If hide-on-modifier is set, stop the child after starting --- diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 48541185..d7d55783 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -132,6 +132,10 @@ void start_child(char *command) { dup2(fd[0], STDIN_FILENO); + /* If hide-on-modifier is set, we start of by sending the + * child a SIGSTOP, because the bars aren't mapped at start */ + stop_child(); + break; } }