diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-24 09:30:33 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-06-24 09:30:33 +0000 |
commit | 5a4c8916efe2449f2cf43bef2f7746dd53469046 (patch) | |
tree | f8f019f04d6137557f61c30fe8c7b5584f33b51c /content/content.h | |
parent | 93941435b800b3514660f19f6bac9b44506e3856 (diff) | |
download | netsurf-5a4c8916efe2449f2cf43bef2f7746dd53469046.tar.gz netsurf-5a4c8916efe2449f2cf43bef2f7746dd53469046.tar.bz2 |
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/content/content.h b/content/content.h index 0efdf443f..636da4e23 100644 --- a/content/content.h +++ b/content/content.h @@ -88,6 +88,8 @@ union content_msg_data { int object_width, object_height; } redraw; int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */ + /** Reformat should not cause a redraw, for CONTENT_MSG_REFORMAT */ + bool background; /** Low-level cache handle, for CONTENT_MSG_DOWNLOAD */ struct llcache_handle *download; }; @@ -117,7 +119,8 @@ nserror content_abort(struct content *c); /* Client functions */ bool content_can_reformat(struct hlcache_handle *h); -void content_reformat(struct hlcache_handle *h, int width, int height); +void content_reformat(struct hlcache_handle *h, bool background, + int width, int height); void content_request_redraw(struct hlcache_handle *h, int x, int y, int width, int height); void content_mouse_track(struct hlcache_handle *h, struct browser_window *bw, |