diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-22 00:12:12 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-22 00:12:12 +0000 |
commit | c9fc91c6e4ced28336b3681a64a2a9fefaef2a4a (patch) | |
tree | f35b3024f45336728bbc14826624def33ca7b83c /amiga | |
parent | 3a0b151b5baec6c41366e4a5dab31d89cf55caef (diff) | |
download | netsurf-c9fc91c6e4ced28336b3681a64a2a9fefaef2a4a.tar.gz netsurf-c9fc91c6e4ced28336b3681a64a2a9fefaef2a4a.tar.bz2 |
Set history scroll offsets
svn path=/trunk/netsurf/; revision=6815
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 0ca7a9edc..6e3200329 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2913,7 +2913,12 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg switch( gid ) { case OID_HSCROLL: - case OID_VSCROLL: + case OID_VSCROLL: + gui_window_get_scroll(gwin->bw->window, + &gwin->bw->window->scrollx,&gwin->bw->window->scrolly); + history_set_current_scroll(gwin->bw->history, + gwin->bw->window->scrollx,gwin->bw->window->scrolly); + if(!option_faster_scroll) gwin->redraw_required = true; else ami_do_redraw(gwin,true); |