term: enable_application_synchronized_updates: not a noop if already enabled

If synchronized updates are already enabled when we receive a request
to enable them, extend the timeout.
This commit is contained in:
Daniel Eklöf 2020-01-12 12:51:21 +01:00
parent d9bd1ef2d4
commit 02c310d241
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1809,9 +1809,6 @@ term_spawn_new(const struct terminal *term)
void
term_enable_application_synchronized_updates(struct terminal *term)
{
if (term->render.application_synchronized_updates.enabled)
return;
term->render.application_synchronized_updates.enabled = true;
if (timerfd_settime(