mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 05:49:19 +03:00
Only set TREE_MOVE_DRAG is the tree is TREE_MOVABLE
svn path=/trunk/netsurf/; revision=10919
This commit is contained in:
parent
d250c43e4f
commit
f2c834ac51
@ -2165,7 +2165,8 @@ bool tree_mouse_action(struct tree *tree, browser_mouse_state mouse, int x,
|
||||
tree_handle_node_element_changed(tree, &node->data);
|
||||
}
|
||||
|
||||
tree->drag = TREE_MOVE_DRAG;
|
||||
if (tree->flags & TREE_MOVABLE)
|
||||
tree->drag = TREE_MOVE_DRAG;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user