summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-03 07:14:24 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-06-03 07:14:24 +0000
commit42ba4e23a5bc6dea8bf22791cc29d51c4ac09877 (patch)
treebdd1d279d1b88987fc89fed6f64a0b45cadeff43
parent3918a7eaaf63ba1962779e4efe71d2782aef3384 (diff)
downloadnetsurf-42ba4e23a5bc6dea8bf22791cc29d51c4ac09877.tar.gz
netsurf-42ba4e23a5bc6dea8bf22791cc29d51c4ac09877.tar.bz2
Fix new pages not always rendering when using faster_scroll
svn path=/trunk/netsurf/; revision=7692
-rwxr-xr-xamiga/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index f9a213d86..55e645529 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2439,7 +2439,7 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
g->shared->redraw_required = true;
- if(option_faster_scroll)
+ if(option_faster_scroll && !g->shared->new_content)
g->shared->redraw_scroll = true;
g->scrollx = sx;
@@ -2447,6 +2447,7 @@ void gui_window_set_scroll(struct gui_window *g, int sx, int sy)
// history_set_current_scroll(g->shared->bw->history,g->scrollx,g->scrolly);
}
+ g->shared->new_content = false;
}
void gui_window_scroll_visible(struct gui_window *g, int x0, int y0,
@@ -2833,6 +2834,7 @@ void gui_window_new_content(struct gui_window *g)
else return;
ami_clearclipreg(currp);
+ g->shared->new_content = true;
if(g->shared->bw->browser_window_type != BROWSER_WINDOW_NORMAL)
return;