From 34dd4bc89eef50ed4dd6cc65fce8cd4fe458833c Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Thu, 6 Jan 2011 17:35:23 +0100 Subject: [PATCH] Bugfix: If hide-on-modifier is set, stop the child after starting --- i3bar/src/child.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } }