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

@ -12,10 +12,10 @@ void render_destroy(struct renderer *renderer);
bool render_resize(struct terminal *term, int width, int height);
bool render_resize_force(struct terminal *term, int width, int height);
void render_set_title(struct terminal *term, const char *title);
void render_refresh(struct terminal *term);
void render_refresh_csd(struct terminal *term);
void render_refresh_search(struct terminal *term);
void render_refresh_title(struct terminal *term);
bool render_xcursor_set(struct terminal *term);
struct render_worker_context {