From: Axel Wagner Date: Fri, 4 Feb 2011 09:04:54 +0000 (+0100) Subject: Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle) X-Git-Tag: 4.0.1~7^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=29d03f917b5dfb3da9f32b187c5c64ee7bae64db;p=i3%2Fi3 Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle) --- diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 1fae7593..795a10d3 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -143,7 +143,9 @@ void start_child(char *command) { /* 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(); + if (config.hide_on_modifier) { + stop_child(); + } break; }