]> git.sur5r.net Git - i3/i3/blobdiff - src/con.c
Implement tree flattening to automatically solve situations of redundant chains of...
[i3/i3] / src / con.c
index e7c48b69f03c07fc525abfb1482c1f0b6ebad963..f105a27946f165eb87c25da15e546eadd0105092 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -669,6 +669,8 @@ void con_set_layout(Con *con, int layout) {
         if (old_focused)
             con_focus(old_focused);
 
+        tree_flatten(croot);
+
         return;
     }