mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: overlay: apply weston quirk
This commit is contained in:
parent
074bbf767e
commit
9e3c71c277
1 changed files with 2 additions and 0 deletions
2
render.c
2
render.c
|
|
@ -1615,6 +1615,7 @@ render_overlay(struct terminal *term)
|
|||
PIXMAN_OP_SRC, buf->pix[0], &color, 1,
|
||||
&(pixman_rectangle16_t){0, 0, term->width, term->height});
|
||||
|
||||
quirk_weston_subsurface_desync_on(overlay->sub);
|
||||
wl_subsurface_set_position(overlay->sub, 0, 0);
|
||||
wl_surface_set_buffer_scale(overlay->surf, term->scale);
|
||||
wl_surface_attach(overlay->surf, buf->wl_buf, 0, 0);
|
||||
|
|
@ -1626,6 +1627,7 @@ render_overlay(struct terminal *term)
|
|||
damage_bounds.y2 - damage_bounds.y1);
|
||||
|
||||
wl_surface_commit(overlay->surf);
|
||||
quirk_weston_subsurface_desync_off(overlay->sub);
|
||||
|
||||
buf->age = 0;
|
||||
term->render.last_overlay_buf = buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue