diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:46:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-01-12 11:46:25 +0000 |
| commit | 21646f00599220026e9d5bade71e47eb4359bbd7 (patch) | |
| tree | 0e98915ac783a43923cf2607c4ab972c1b08ae53 /render.c | |
| parent | dcs: abort() in bsu/esu (diff) | |
| parent | term: app sync updates: disable delayed rendering timers once only (diff) | |
Merge branch 'synchronized-updates'
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1015,6 +1015,9 @@ render_resize(struct terminal *term, int width, int height) if (width == term->width && height == term->height && scale == term->scale) return; + /* Cancel an application initiated "Synchronized Update" */ + term_disable_application_synchronized_updates(term); + term->width = width; term->height = height; term->scale = scale; @@ -1190,6 +1193,9 @@ fdm_hook_refresh_pending_terminals(struct fdm *fdm, void *data) if (!term->render.refresh_needed) continue; + if (term->render.application_synchronized_updates.enabled) + continue; + assert(term->window->is_configured); term->render.refresh_needed = false; |
