wayland-surface: Process damage even if the buffer didn't change

This commit is contained in:
Jasper St. Pierre 2013-11-26 12:32:41 -05:00
parent a9424255a5
commit d44574f738

View File

@ -266,10 +266,11 @@ actor_surface_commit (MetaWaylandSurface *surface)
ensure_buffer_texture (buffer);
meta_wayland_buffer_reference (&surface->buffer_ref, buffer);
meta_surface_actor_attach_wayland_buffer (surface_actor, buffer);
surface_process_damage (surface, surface->pending.damage);
changed = TRUE;
}
surface_process_damage (surface, surface->pending.damage);
if (surface->pending.opaque_region)
meta_surface_actor_set_opaque_region (surface_actor, surface->pending.opaque_region);
if (surface->pending.input_region)