mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 10:08:00 +02:00
compositor: Damage below before attaching new buffer
This commit is contained in:
parent
b3cca0a411
commit
c5e2376d3f
1 changed files with 2 additions and 0 deletions
|
|
@ -988,6 +988,8 @@ surface_attach(struct wl_client *client,
|
|||
struct weston_shell *shell = es->compositor->shell;
|
||||
struct wl_buffer *buffer = buffer_resource->data;
|
||||
|
||||
weston_surface_damage_below(es);
|
||||
|
||||
if (es->buffer) {
|
||||
weston_buffer_post_release(es->buffer);
|
||||
wl_list_remove(&es->buffer_destroy_listener.link);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue