From 573574b3011e60b744df934e7a1e2e441f8f0070 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Sat, 25 May 2019 00:05:18 +0300 Subject: [PATCH] Fix: delete decoration cache after swap Fixes a regression after 8e1687a where swapping 2 containers across different workspaces would not update their titles. --- src/con.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/con.c b/src/con.c index 4b640eb8..10afb4cc 100644 --- a/src/con.c +++ b/src/con.c @@ -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);