]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: _only_ stop child, if hide_on_modifier is set (thx cradle)
authorAxel Wagner <mail@merovius.de>
Fri, 4 Feb 2011 09:04:54 +0000 (10:04 +0100)
committerAxel Wagner <mail@merovius.de>
Fri, 4 Feb 2011 09:04:54 +0000 (10:04 +0100)
i3bar/src/child.c

index 1fae759335684ee3e2dc0f480449658d2523f359..795a10d3e3f82edfdbd5cdecdd9aa7d18b5d1f39 100644 (file)
@@ -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;
         }