aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-12-14 18:05:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-12-14 18:05:54 +0000
commit6c8b034affae251cdb6645633c1b965c67e78850 (patch)
tree874742d39f27524579ab09cef14ea7d26406ff89 /terminal.h
parentinput: make sure ‘surf_kind’ is not uninitialized (diff)
term: enabling application synchronized updates clear pending grid refresh
This fixes issues with de-synchronized frames being rendered; we may have scheduled a redraw earlier, that hasn’t yet triggered (probably because we’re waiting for a frame callback), when we enable application synchronized updates. This means we risk rendering a partially updated state when the frame callback finally arrives, if the application hasn’t yet ended its synchronized update.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 0b0e2685..8708661f 100644
--- a/terminal.h
+++ b/terminal.h
@@ -410,7 +410,6 @@ struct terminal {
struct {
bool enabled;
int timer_fd;
- bool flipped;
} app_sync_updates;
/* Render threads + synchronization primitives */