mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 04:26:50 +03:00
Make test parasite pass drag end event to new treeview.
This commit is contained in:
parent
44e4ca5f05
commit
a3c72894b9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user