summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index 92a25109c..d9b0592c8 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -2928,6 +2928,11 @@ void tree_drag_end(struct tree *tree, browser_mouse_state mouse, int x0, int y0,
struct node *node;
int x, y;
+ if (tree->flags & TREE_MOVABLE) {
+ treeview_test_mouse_action(tree, BROWSER_MOUSE_HOVER, x1, y1);
+ return;
+ }
+
switch (tree->drag) {
case TREE_NO_DRAG:
case TREE_UNKNOWN_DRAG: