Properly invalidate rendering cache when updating orientation (Thanks hercek)

fixes #1445
This commit is contained in:
Michael Stapelberg
2015-02-11 21:13:19 +01:00
parent db62b5a4df
commit fbe25297b7
3 changed files with 8 additions and 3 deletions

View File

@ -407,8 +407,7 @@ void tree_split(Con *con, orientation_t orientation) {
Con *parent = con->parent;
/* Force re-rendering to make the indicator border visible. */
FREE(con->deco_render_params);
FREE(parent->deco_render_params);
con_force_split_parents_redraw(con);
/* if we are in a container whose parent contains only one
* child (its split functionality is unused so far), we just change the