Split container parents should be redrawn when swapping child containers (within parent) (#4765)
Redraw split container parents when swapping child containers Split container parents should be redrawn when swapping child containers so they show the correct window ordering (note without this higher level split parent container titles will only update when changing layout or moving child cons in/out.
This commit is contained in:
parent
458c148934
commit
ddc587933d
@ -0,0 +1 @@
|
||||
update parent split con titles when child con swaps position with another child con
|
@ -330,6 +330,9 @@ void tree_move(Con *con, direction_t direction) {
|
||||
TAILQ_SWAP(con, swap, &(swap->parent->nodes_head), nodes);
|
||||
}
|
||||
|
||||
/* redraw parents to ensure all parent split container titles are updated correctly */
|
||||
con_force_split_parents_redraw(con);
|
||||
|
||||
ipc_send_window_event("move", con);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user