From: Ingo Bürk Date: Fri, 12 May 2017 17:26:35 +0000 (+0200) Subject: Force container to be redrawn upon moving to another container. (#2769) X-Git-Tag: 4.14~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;ds=sidebyside;h=9178c5b8ca2b5c09ba96397ce3303d552125ede4;p=i3%2Fi3 Force container to be redrawn upon moving to another container. (#2769) This is necessary as otherwise urgent containers can be broken after moving them. --- 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);