diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-02-13 22:25:11 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-02-13 22:25:11 +0000 |
commit | fe7921a387c5a71c8ecba7bb605679b7dab4b86f (patch) | |
tree | d31c249671b3e71f498dd48b6c42b56f1e278f7f /desktop/browser.c | |
parent | db2f823e9990cee17b1072ce2296ef88062bc7bd (diff) | |
download | netsurf-fe7921a387c5a71c8ecba7bb605679b7dab4b86f.tar.gz netsurf-fe7921a387c5a71c8ecba7bb605679b7dab4b86f.tar.bz2 |
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
Diffstat (limited to 'desktop/browser.c')
-rw-r--r-- | desktop/browser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 454fbf5e9..3d5f1a9cb 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -120,8 +120,7 @@ bool browser_window_redraw(struct browser_window *bw, int x, int y, } return content_redraw(bw->current_content, x, y, width, height, - clip.x0, clip.y0, clip.x1, clip.y1, - bw->scale, 0xFFFFFF); + &clip, bw->scale, 0xFFFFFF); } /* exported interface, documented in browser.h */ |