diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-08-06 09:41:22 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-08-06 09:42:37 +0100 |
commit | 5e45c4498c0a8a24330864b3d4c68ffe891ce15e (patch) | |
tree | fe20319f2efc9dca39fe45ed6228dfd529ae3be5 /content/handlers/html/html.c | |
parent | c238325b12318803a8dcc706d7d678333f82e1c8 (diff) | |
download | netsurf-5e45c4498c0a8a24330864b3d4c68ffe891ce15e.tar.gz netsurf-5e45c4498c0a8a24330864b3d4c68ffe891ce15e.tar.bz2 |
HTML: Don't allow objects to redraw until we have a layout.
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r-- | content/handlers/html/html.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |