render: reload cursor theme when scale (may) have changed

This commit is contained in:
Daniel Eklöf 2019-08-21 17:53:52 +02:00
parent 776432ded3
commit d5bc46f333
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 57 additions and 16 deletions

View file

@ -8,9 +8,11 @@ struct font *attrs_to_font(
void grid_render(struct terminal *term);
void render_resize(struct terminal *term, int width, int height);
void render_set_title(struct terminal *term, const char *title);
void render_update_cursor_surface(struct terminal *term);
void render_refresh(struct terminal *term);
bool render_reload_cursor_theme(struct terminal *term);
void render_update_cursor_surface(struct terminal *term);
struct render_worker_context {
int my_id;
struct terminal *term;