Bugfix: If hide-on-modifier is set, stop the child after starting

This commit is contained in:
Axel Wagner 2011-01-06 17:35:23 +01:00
parent 2183435da6
commit 34dd4bc89e
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ void start_child(char *command) {
dup2(fd[0], STDIN_FILENO); 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; break;
} }
} }