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_internal.h | |
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_internal.h')
-rw-r--r-- | content/handlers/html/html_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |