From d1b5c3888329d82c3096654b3d0fab1ed5443728 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 8 Apr 2009 11:07:30 +0000 Subject: Possibly fix links opened in current window not being scrolled to top. svn path=/trunk/netsurf/; revision=7065 --- desktop/browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/browser.c b/desktop/browser.c index 55d069db2..bd974811d 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -448,7 +448,8 @@ void browser_window_callback(content_msg msg, struct content *c, bw->current_content->url, bw->frag_id); } - browser_window_update(bw, false); + /* new content; set scroll_to_top */ + browser_window_update(bw, true); content_open(c, bw, 0, 0, 0, 0); browser_window_set_status(bw, c->status_message); -- cgit v1.2.3