Force re-rendering after changing the orientation of a split container

This commit is contained in:
Michael Stapelberg 2012-01-22 13:19:37 +00:00
parent f9bc434e2a
commit ef522b4dc1
1 changed files with 2 additions and 0 deletions

View 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;
}