From 5a4c8916efe2449f2cf43bef2f7746dd53469046 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 24 Jun 2011 09:30:33 +0000 Subject: 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 --- beos/beos_window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'beos') 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); } -- cgit v1.2.3