bugfix: the layout command needs to change the layout of the parent container
This commit is contained in:
parent
32be3af109
commit
5bff638ea0
|
@ -482,7 +482,7 @@ layout:
|
||||||
|
|
||||||
/* check if the match is empty, not if the result is empty */
|
/* check if the match is empty, not if the result is empty */
|
||||||
if (match_is_empty(¤t_match))
|
if (match_is_empty(¤t_match))
|
||||||
focused->layout = $<number>3;
|
focused->parent->layout = $<number>3;
|
||||||
else {
|
else {
|
||||||
TAILQ_FOREACH(current, &owindows, owindows) {
|
TAILQ_FOREACH(current, &owindows, owindows) {
|
||||||
printf("matching: %p / %s\n", current->con, current->con->name);
|
printf("matching: %p / %s\n", current->con, current->con->name);
|
||||||
|
|
Loading…
Reference in New Issue