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 /atari | |
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 'atari')
-rwxr-xr-x | atari/browser_win.c | 2 | ||||
-rwxr-xr-x | atari/global_evnt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/atari/browser_win.c b/atari/browser_win.c index f58bc8755..a877c0562 100755 --- a/atari/browser_win.c +++ b/atari/browser_win.c @@ -771,7 +771,7 @@ static void __CDECL evnt_window_rt_resize( WINDOW *win, short buff[8] ) browser_update_rects( gw );
browser_get_rect( gw, BR_CONTENT, &rect );
if( gw->browser->bw->current_content != NULL )
- browser_window_reformat(gw->browser->bw, rect.g_w, rect.g_h );
+ browser_window_reformat(gw->browser->bw, false, rect.g_w, rect.g_h );
gw->root->toolbar->url.scrollx = 0;
window_redraw_controls(gw, 0);
/* TODO: recalculate scroll position, istead of zeroing? */
diff --git a/atari/global_evnt.c b/atari/global_evnt.c index 7dea214f2..100fe37f7 100755 --- a/atari/global_evnt.c +++ b/atari/global_evnt.c @@ -192,7 +192,7 @@ static void __CDECL menu_debug_render(WINDOW *win, int item, int title, void *da if ( input_window->browser != NULL && input_window->browser->bw != NULL) {
LGRECT rect;
browser_get_rect( input_window, BR_CONTENT, &rect );
- browser_window_reformat(input_window->browser->bw, rect.g_w, rect.g_h );
+ browser_window_reformat(input_window->browser->bw, false, rect.g_w, rect.g_h );
}
}
}
|