From 5bff638ea007f1290ab4bf9856794520010da328 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 2 Jun 2010 18:58:52 +0200 Subject: [PATCH] bugfix: the layout command needs to change the layout of the parent container --- src/cmdparse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmdparse.y b/src/cmdparse.y index ab3dd4cc..cae2d3c5 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -482,7 +482,7 @@ layout: /* check if the match is empty, not if the result is empty */ if (match_is_empty(¤t_match)) - focused->layout = $3; + focused->parent->layout = $3; else { TAILQ_FOREACH(current, &owindows, owindows) { printf("matching: %p / %s\n", current->con, current->con->name); -- 2.39.5