summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-24 09:30:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-24 09:30:33 +0000
commit5a4c8916efe2449f2cf43bef2f7746dd53469046 (patch)
treef8f019f04d6137557f61c30fe8c7b5584f33b51c /beos
parent93941435b800b3514660f19f6bac9b44506e3856 (diff)
downloadnetsurf-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 'beos')
-rw-r--r--beos/beos_window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index e136949e8..c8314ef19 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -1273,6 +1273,7 @@ void nsbeos_window_process_reformats(void)
view->UnlockLooper();
#warning XXX why - 1 & - 2 !???
browser_window_reformat(g->bw,
+ false,
bounds.Width() + 1 /* - 2*/,
bounds.Height() + 1);
}
@@ -1285,6 +1286,7 @@ void nsbeos_window_process_reformats(void)
continue;
g->bw->reformat_pending = false;
browser_window_reformat(g->bw,
+ false,
widget->allocation.width - 2,
widget->allocation.height);
}