Force re-rendering after changing the orientation of a split container
This commit is contained in:
parent
f9bc434e2a
commit
ef522b4dc1
|
@ -347,6 +347,8 @@ void tree_split(Con *con, orientation_t orientation) {
|
||||||
* orientation (more intuitive than splitting again) */
|
* orientation (more intuitive than splitting again) */
|
||||||
if (con_num_children(parent) == 1) {
|
if (con_num_children(parent) == 1) {
|
||||||
parent->orientation = orientation;
|
parent->orientation = orientation;
|
||||||
|
FREE(con->deco_render_params);
|
||||||
|
FREE(parent->deco_render_params);
|
||||||
DLOG("Just changing orientation of existing container\n");
|
DLOG("Just changing orientation of existing container\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue