From 318444c9ecb423dd279d649dc1ecc933f0cede8c Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sat, 25 Apr 2020 16:59:01 +0200 Subject: [PATCH] #487 properly update insert feedback upon change --- src/view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index c7df8bb3..5e05812d 100644 --- a/src/view.c +++ b/src/view.c @@ -245,7 +245,9 @@ void window_node_update(struct view *view, struct window_node *node) area_make_pair(view, node->parent); } - if (!window_node_is_leaf(node)) { + if (window_node_is_leaf(node)) { + if (node->insert_dir) insert_feedback_show(node); + } else { window_node_update(view, node->left); window_node_update(view, node->right); }