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_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/handlers/html/html_internal.h') diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h index 2ba96f0f8..7a8d95612 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -127,6 +127,9 @@ typedef struct html_content { /** Whether a layout (reflow) is in progress */ bool reflowing; + /** Whether an initial layout has been done */ + bool had_initial_layout; + /** Whether scripts are enabled for this content */ bool enable_scripting; -- cgit v1.2.3