bugfix: the layout command needs to change the layout of the parent container

next
Michael Stapelberg 2010-06-02 18:58:52 +02:00
parent 32be3af109
commit 5bff638ea0
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ layout:
/* check if the match is empty, not if the result is empty */
if (match_is_empty(&current_match))
focused->layout = $<number>3;
focused->parent->layout = $<number>3;
else {
TAILQ_FOREACH(current, &owindows, owindows) {
printf("matching: %p / %s\n", current->con, current->con->name);