term: rename refresh_prohibited -> application_synchronized_updates

This commit is contained in:
Daniel Eklöf 2020-01-12 12:25:58 +01:00
parent 84f836c0c8
commit cb8a0260f3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 7 additions and 7 deletions

View file

@ -1193,7 +1193,7 @@ fdm_hook_refresh_pending_terminals(struct fdm *fdm, void *data)
if (!term->render.refresh_needed)
continue;
if (term->render.refresh_prohibited)
if (term->render.application_synchronized_updates)
continue;
assert(term->window->is_configured);
@ -1244,19 +1244,19 @@ render_refresh(struct terminal *term)
void
render_disable_refresh(struct terminal *term)
{
if (term->render.refresh_prohibited)
if (term->render.application_synchronized_updates)
return;
term->render.refresh_prohibited = true;
term->render.application_synchronized_updates = true;
}
void
render_enable_refresh(struct terminal *term)
{
if (!term->render.refresh_prohibited)
if (!term->render.application_synchronized_updates)
return;
term->render.refresh_prohibited = false;
term->render.application_synchronized_updates = false;
}
bool