From 9178c5b8ca2b5c09ba96397ce3303d552125ede4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20B=C3=BCrk?= Date: Fri, 12 May 2017 19:26:35 +0200 Subject: [PATCH] Force container to be redrawn upon moving to another container. (#2769) This is necessary as otherwise urgent containers can be broken after moving them. --- src/con.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/con.c b/src/con.c index 7b831b36..86412596 100644 --- a/src/con.c +++ b/src/con.c @@ -1127,6 +1127,9 @@ static bool _con_move_to_con(Con *con, Con *target, bool behind_focused, bool fi con_set_urgency(con, true); } + /* Ensure the container will be redrawn. */ + FREE(con->deco_render_params); + CALL(parent, on_remove_child); ipc_send_window_event("move", con); -- 2.39.5