render: pace title updates

Synchronize window title updates with window rendering.
This commit is contained in:
Daniel Eklöf 2020-03-25 18:23:55 +01:00
parent b46ad6a50a
commit 9bbbd26c7a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 34 additions and 16 deletions

View file

@ -336,6 +336,7 @@ struct terminal {
bool grid;
bool csd;
bool search;
bool title;
} refresh;
/* Scheduled for rendering, in the next frame callback */
@ -343,6 +344,7 @@ struct terminal {
bool grid;
bool csd;
bool search;
bool title;
} pending;
int scrollback_lines; /* Number of scrollback lines, from conf (TODO: move out from render struct?) */