From f4172885428f9849ff29bd09490db8b167a8d705 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 3 Nov 2021 07:09:16 +0200 Subject: Redo cached document layout if needed Changing the fonts, zoom level, or window width will cause cached documents to be laid out again if they are restored from memory. --- src/history.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/history.h') diff --git a/src/history.h b/src/history.h index 7dad72df..d3daae80 100644 --- a/src/history.h +++ b/src/history.h @@ -76,6 +76,7 @@ void clearCache_History (iHistory *); size_t pruneLeastImportant_History (iHistory *); size_t pruneLeastImportantMemory_History (iHistory *); void invalidateTheme_History (iHistory *); /* theme has changed, cached contents need updating */ +void invalidateCachedLayout_History (iHistory *); iBool atLatest_History (const iHistory *); iBool atOldest_History (const iHistory *); -- cgit v1.2.3