mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-23 05:33:57 -04:00
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:
parent
d9bd1ef2d4
commit
02c310d241
1 changed files with 0 additions and 3 deletions
|
|
@ -1809,9 +1809,6 @@ term_spawn_new(const struct terminal *term)
|
||||||
void
|
void
|
||||||
term_enable_application_synchronized_updates(struct terminal *term)
|
term_enable_application_synchronized_updates(struct terminal *term)
|
||||||
{
|
{
|
||||||
if (term->render.application_synchronized_updates.enabled)
|
|
||||||
return;
|
|
||||||
|
|
||||||
term->render.application_synchronized_updates.enabled = true;
|
term->render.application_synchronized_updates.enabled = true;
|
||||||
|
|
||||||
if (timerfd_settime(
|
if (timerfd_settime(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue