Make test parasite pass drag end event to new treeview.

This commit is contained in:
Michael Drake 2013-06-15 15:50:41 +01:00
parent 44e4ca5f05
commit a3c72894b9

View File

@ -2928,6 +2928,11 @@ void tree_drag_end(struct tree *tree, browser_mouse_state mouse, int x0, int y0,
struct node *node; struct node *node;
int x, y; int x, y;
if (tree->flags & TREE_MOVABLE) {
treeview_test_mouse_action(tree, BROWSER_MOUSE_HOVER, x1, y1);
return;
}
switch (tree->drag) { switch (tree->drag) {
case TREE_NO_DRAG: case TREE_NO_DRAG:
case TREE_UNKNOWN_DRAG: case TREE_UNKNOWN_DRAG: