diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-03 15:22:02 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-03 15:22:02 +0300 |
commit | 8e8e486a2969dbc20b3c3a08023267e9eab53265 (patch) | |
tree | ee5bf60115de72b0183c34a68b6236299e05593b /src/app.c | |
parent | b02c72a21692435dd974c2b767ee3e003ed6f846 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |