summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-24 17:51:00 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-10-24 17:51:00 +0000
commitbdf3c32f44880fd36c2fe66966863626b95e5d2d (patch)
treeb66c9f8f4f503654a563b1295c17f787dff5fb52 /amiga/gui.c
parent43e5a16b34cf6b9d2404bd9ace2be7e1b6bbb821 (diff)
downloadnetsurf-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/gui.c')
-rwxr-xr-xamiga/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index bcd0c0365..92208bd6b 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1027,7 +1027,9 @@ void ami_handle_msg(void)
width=bbox->Width;
height=bbox->Height;
- if(gwin->mouse_state & BROWSER_MOUSE_DRAG_ON)
+ if(gwin->mouse_state & BROWSER_MOUSE_DRAG_ON &&
+ ((gwin->bw->drag_type == DRAGGING_SELECTION) ||
+ ami_autoscroll == TRUE))
{
int drag_x_move = 0, drag_y_move = 0;