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

@ -186,7 +186,7 @@ fdm_ptmx(struct fdm *fdm, int fd, int events, void *data)
* has any effect when the renderer is idle.
*/
if (term->window->frame_callback == NULL) {
if (term->render.refresh_prohibited) {
if (term->render.application_synchronized_updates) {
timerfd_settime(
term->delayed_render_timer.lower_fd, 0,
&(struct itimerspec){{0}}, NULL);