diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-05 13:49:34 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-05 13:49:34 +0000 |
commit | a0bbd87b1ef3dd6b8f1b66dc83b6bf487ac1f8aa (patch) | |
tree | 38cf3bfb7c44a4f82fab0866c673ffe70ecd3fb8 | |
parent | 71a08da397c70415007fefad20a6bde765404913 (diff) | |
download | netsurf-a0bbd87b1ef3dd6b8f1b66dc83b6bf487ac1f8aa.tar.gz netsurf-a0bbd87b1ef3dd6b8f1b66dc83b6bf487ac1f8aa.tar.bz2 |
Fix frameset resizing.
svn path=/trunk/netsurf/; revision=13246
-rw-r--r-- | desktop/browser.c | 8 |
1 files 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); } |