]> git.sur5r.net Git - i3/i3/commitdiff
Force re-rendering after changing the orientation of a split container
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Jan 2012 13:19:37 +0000 (13:19 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 22 Jan 2012 13:19:37 +0000 (13:19 +0000)
src/tree.c

index bdfceac0c0bccd42eb928a7f3f62fa624cd67dab..bc5468677f8f4d1fceeeec9aac986918aeedb7a8 100644 (file)
@@ -347,6 +347,8 @@ void tree_split(Con *con, orientation_t orientation) {
      * orientation (more intuitive than splitting again) */
     if (con_num_children(parent) == 1) {
         parent->orientation = orientation;
+        FREE(con->deco_render_params);
+        FREE(parent->deco_render_params);
         DLOG("Just changing orientation of existing container\n");
         return;
     }