Force container to be redrawn upon moving to another container. (#2769)

This is necessary as otherwise urgent containers can be broken
after moving them.
This commit is contained in:
Ingo Bürk 2017-05-12 19:26:35 +02:00 committed by Michael Stapelberg
parent 38827fbb7e
commit 9178c5b8ca
1 changed files with 3 additions and 0 deletions

View File

@ -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);