From: Michael Stapelberg Date: Sun, 22 Jan 2012 13:19:37 +0000 (+0000) Subject: Force re-rendering after changing the orientation of a split container X-Git-Tag: 4.2~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef522b4dc1ebaabb8fab0b1ee64555c4e5704ddb;p=i3%2Fi3 Force re-rendering after changing the orientation of a split container --- diff --git a/src/tree.c b/src/tree.c index bdfceac0..bc546867 100644 --- a/src/tree.c +++ b/src/tree.c @@ -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; }