diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -207,7 +207,10 @@ 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); |