diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-24 17:51:00 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-24 17:51:00 +0000 |
commit | bdf3c32f44880fd36c2fe66966863626b95e5d2d (patch) | |
tree | b66c9f8f4f503654a563b1295c17f787dff5fb52 /amiga/tree.c | |
parent | 43e5a16b34cf6b9d2404bd9ace2be7e1b6bbb821 (diff) | |
download | netsurf-bdf3c32f44880fd36c2fe66966863626b95e5d2d.tar.gz netsurf-bdf3c32f44880fd36c2fe66966863626b95e5d2d.tar.bz2 |
Only allow auto-scroll on selection and selection drags
svn path=/trunk/netsurf/; revision=10904
Diffstat (limited to 'amiga/tree.c')
-rwxr-xr-x | amiga/tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/tree.c b/amiga/tree.c index 0119c0f7e..f39df7285 100755 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -50,6 +50,8 @@ #include "desktop/history_global_core.h" #include "desktop/hotlist.h" #include "amiga/sslcert.h" +#include "amiga/download.h" /* drag icon stuff */ +#include "amiga/theme.h" /* pointers */ #include "utils/utils.h" #define AMI_TREE_MENU_ITEMS 19 @@ -793,6 +795,7 @@ BOOL ami_tree_event(struct treeview_window *twin) } else { + ami_drag_icon_close(twin->win); tree_drag_end(twin->tree, twin->mouse_state, twin->drag_x, twin->drag_y, x, y); } @@ -808,6 +811,7 @@ BOOL ami_tree_event(struct treeview_window *twin) } else { + ami_drag_icon_close(twin->win); tree_drag_end(twin->tree, twin->mouse_state, twin->drag_x, twin->drag_y, x, y); } |