From 5e45c4498c0a8a24330864b3d4c68ffe891ce15e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 6 Aug 2019 09:41:22 +0100 Subject: HTML: Don't allow objects to redraw until we have a layout. --- content/handlers/html/html.c | 1 + 1 file changed, 1 insertion(+) (limited to 'content/handlers/html/html.c') diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index bcbd4382a..ed48af20e 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -1592,6 +1592,7 @@ static void html_reformat(struct content *c, int width, int height) selection_reinit(&htmlc->sel, htmlc->layout); htmlc->reflowing = false; + htmlc->had_initial_layout = true; /* calculate next reflow time at three times what it took to reflow */ nsu_getmonotonic_ms(&ms_after); -- cgit v1.2.3