Merge pull request #3706 from orestisf1993/swap

Fix: delete decoration cache after swap
next
Ingo Bürk 2019-05-25 11:17:59 +02:00 committed by GitHub
commit 3c63e2cd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2385,6 +2385,8 @@ bool con_swap(Con *first, Con *second) {
con_fix_percent(first->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(second);