Fix: delete decoration cache after swap
Fixes a regression after 8e1687a
where swapping 2 containers across
different workspaces would not update their titles.
This commit is contained in:
parent
f2c7e26a0c
commit
573574b301
|
@ -2385,6 +2385,8 @@ bool con_swap(Con *first, Con *second) {
|
||||||
con_fix_percent(first->parent);
|
con_fix_percent(first->parent);
|
||||||
con_fix_percent(second->parent);
|
con_fix_percent(second->parent);
|
||||||
|
|
||||||
|
FREE(first->deco_render_params);
|
||||||
|
FREE(second->deco_render_params);
|
||||||
con_force_split_parents_redraw(first);
|
con_force_split_parents_redraw(first);
|
||||||
con_force_split_parents_redraw(second);
|
con_force_split_parents_redraw(second);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue