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~3^2~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=34dd4bc89eef50ed4dd6cc65fce8cd4fe458833c;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; } }