summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-13 17:41:56 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-11-13 17:41:56 +0000
commit388acaba4017b621ffc1cf858f97228f85e16aa7 (patch)
tree8d2012af8b573718322efc3784dfab8a5dddba97
parentdd267bd90a9d4ddd6f6247fc4eceaf7ed80839d0 (diff)
downloadnetsurf-388acaba4017b621ffc1cf858f97228f85e16aa7.tar.gz
netsurf-388acaba4017b621ffc1cf858f97228f85e16aa7.tar.bz2
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
-rwxr-xr-xamiga/tree.c3
1 files changed, 3 insertions, 0 deletions
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) &&