From a0bbd87b1ef3dd6b8f1b66dc83b6bf487ac1f8aa Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 5 Dec 2011 13:49:34 +0000 Subject: Fix frameset resizing. svn path=/trunk/netsurf/; revision=13246 --- desktop/browser.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/browser.c b/desktop/browser.c index 326601254..8ae68d377 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1619,10 +1619,10 @@ void browser_window_update(struct browser_window *bw, bool scroll_to_top) browser_window_set_scroll(bw, x, y); } - rect.x0 = 0; - rect.y0 = 0; - rect.x1 = bw->width; - rect.y1 = bw->height; + rect.x0 = scrollbar_get_offset(bw->scroll_x); + rect.y0 = scrollbar_get_offset(bw->scroll_y); + rect.x1 = rect.x0 + bw->width; + rect.y1 = rect.y0 + bw->height; browser_window_update_box(bw, &rect); } -- cgit v1.2.3