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:
parent
38827fbb7e
commit
9178c5b8ca
|
@ -1127,6 +1127,9 @@ static bool _con_move_to_con(Con *con, Con *target, bool behind_focused, bool fi
|
||||||
con_set_urgency(con, true);
|
con_set_urgency(con, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensure the container will be redrawn. */
|
||||||
|
FREE(con->deco_render_params);
|
||||||
|
|
||||||
CALL(parent, on_remove_child);
|
CALL(parent, on_remove_child);
|
||||||
|
|
||||||
ipc_send_window_event("move", con);
|
ipc_send_window_event("move", con);
|
||||||
|
|
Loading…
Reference in New Issue