Always restore border consistency in swap_node

This commit is contained in:
Bastien Dejean 2017-02-11 16:22:09 +01:00
parent c4c6da199f
commit ab6fced060

View file

@ -1361,6 +1361,9 @@ bool swap_nodes(monitor_t *m1, desktop_t *d1, node_t *n1, monitor_t *m2, desktop
} else {
draw_border(n1, is_descendant(n1, d2->focus), (m2 == mon));
}
} else {
draw_border(n1, is_descendant(n1, d2->focus), (m2 == mon));
draw_border(n2, is_descendant(n2, d1->focus), (m1 == mon));
}
arrange(m1, d1);