From 388acaba4017b621ffc1cf858f97228f85e16aa7 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 13 Nov 2011 17:41:56 +0000 Subject: Propagate mouse position during drags down to the core (needed for redraw events during drags, eg. selection bounding box, indication of node drop location, etc) svn path=/trunk/netsurf/; revision=13147 --- amiga/tree.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'amiga/tree.c') diff --git a/amiga/tree.c b/amiga/tree.c index d3694bc2e..92ad5deed 100755 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -883,6 +883,9 @@ BOOL ami_tree_event(struct treeview_window *twin) if((twin->win->MouseY > (bbox->Top + bbox->Height)) && ((twin->win->MouseY - (bbox->Top + bbox->Height)) < AMI_DRAG_THRESHOLD)) drag_y_move = twin->win->MouseY - (bbox->Top + bbox->Height); + + tree_mouse_action(twin->tree, + twin->mouse_state | twin->key_state, x, y); } if((x >= xs) && (y >= ys) && (x < bbox->Width + xs) && -- cgit v1.2.3