From 972be13dc5e4005fa6c3d44a4d1e1bb6b606e1ee Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Fri, 4 Feb 2011 10:04:54 +0100 Subject: [PATCH] Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle) --- i3bar/src/child.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.5