diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-25 11:24:38 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-25 11:24:38 (EDT) |
commit | 0de448b5d5236226290e2ab78b0caa0bec561c47 (patch) | |
tree | f160257606bf6ec1999aae9ddcaf97d0f519cb94 /src | |
parent | 1e865aaafac5888d9956d468172f5722477d7ab3 (diff) | |
download | marquee-0de448b5d5236226290e2ab78b0caa0bec561c47.zip marquee-0de448b5d5236226290e2ab78b0caa0bec561c47.tar.gz marquee-0de448b5d5236226290e2ab78b0caa0bec561c47.tar.bz2 |
Revert "mq_tree_remove*(): Don't update children's positions"
This reverts commit ab9570ff5e856e4cc4056cb970e732be29405444.
Children's positions do need to be updated.
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -222,10 +222,7 @@ mq_tree_remove_allocated(MqTree *node) for (child = node->first_child; child; child = child->next) { child->parent = node->parent; } - - /* Don't waste time updating children's positions. */ - node->first_child = NULL; - + update_positions(node, -1); update_sizes(node, -1); |