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/gui.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/gui.c')
-rwxr-xr-x | amiga/gui.c | 4 |
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; |