mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
wayland-surface: Process damage even if the buffer didn't change
This commit is contained in:
parent
a9424255a5
commit
d44574f738
@ -266,10 +266,11 @@ actor_surface_commit (MetaWaylandSurface *surface)
|
|||||||
ensure_buffer_texture (buffer);
|
ensure_buffer_texture (buffer);
|
||||||
meta_wayland_buffer_reference (&surface->buffer_ref, buffer);
|
meta_wayland_buffer_reference (&surface->buffer_ref, buffer);
|
||||||
meta_surface_actor_attach_wayland_buffer (surface_actor, buffer);
|
meta_surface_actor_attach_wayland_buffer (surface_actor, buffer);
|
||||||
surface_process_damage (surface, surface->pending.damage);
|
|
||||||
changed = TRUE;
|
changed = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
surface_process_damage (surface, surface->pending.damage);
|
||||||
|
|
||||||
if (surface->pending.opaque_region)
|
if (surface->pending.opaque_region)
|
||||||
meta_surface_actor_set_opaque_region (surface_actor, surface->pending.opaque_region);
|
meta_surface_actor_set_opaque_region (surface_actor, surface->pending.opaque_region);
|
||||||
if (surface->pending.input_region)
|
if (surface->pending.input_region)
|
||||||
|
Loading…
Reference in New Issue
Block a user