summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-03 15:22:02 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-03 15:22:02 +0300
commit8e8e486a2969dbc20b3c3a08023267e9eab53265 (patch)
treeee5bf60115de72b0183c34a68b6236299e05593b /src/app.c
parentb02c72a21692435dd974c2b767ee3e003ed6f846 (diff)
Drawing only during window update
Glyphs were inadvertently being cached already during measuring for layout. DocumentWidget was buffering graphics too early. Now buffered draws are prepared during normal drawing, when needed.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index ba282440..54f35373 100644
--- a/src/app.c
+++ b/src/app.c
@@ -129,7 +129,7 @@ struct Impl_App {
129 iTime lastDropTime; /* for detecting drops of multiple items */ 129 iTime lastDropTime; /* for detecting drops of multiple items */
130 int autoReloadTimer; 130 int autoReloadTimer;
131 iPeriodic periodic; 131 iPeriodic periodic;
132 int warmupFrames; /* forced refresh just after resuming from background */ 132 int warmupFrames; /* forced refresh just after resuming from background; FIXME: shouldn't be needed */
133 /* Preferences: */ 133 /* Preferences: */
134 iBool commandEcho; /* --echo */ 134 iBool commandEcho; /* --echo */
135 iBool forceSoftwareRender; /* --sw */ 135 iBool forceSoftwareRender; /* --sw */