Merge branch 'tweak-damage-everything' into master

This commit is contained in:
Daniel Eklöf 2020-09-07 19:44:54 +02:00
commit e81d23befc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 27 additions and 2 deletions

View file

@ -1819,6 +1819,11 @@ grid_render(struct terminal *term, bool redraw_margins)
}
}
if (term->conf->tweak.damage_whole_window) {
wl_surface_damage_buffer(
term->window->surface, 0, 0, INT32_MAX, INT32_MAX);
}
wl_surface_attach(term->window->surface, buf->wl_buf, 0, 0);
quirk_kde_damage_before_attach(term->window->surface);
wl_surface_commit(term->window->surface);