]> git.sur5r.net Git - i3/i3/commitdiff
Force container to be redrawn upon moving to another container. (#2769)
authorIngo Bürk <admin@airblader.de>
Fri, 12 May 2017 17:26:35 +0000 (19:26 +0200)
committerMichael Stapelberg <stapelberg@users.noreply.github.com>
Fri, 12 May 2017 17:26:35 +0000 (19:26 +0200)
This is necessary as otherwise urgent containers can be broken
after moving them.

src/con.c

index 7b831b36d9d2cb0c461d274f789d31531425271d..864125961b6bda2322b0e5687552d236b738a884 100644 (file)
--- 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);