surface-actor: Call process_damage even when the actor is invisible

Otherwise, surface-actor-x11 won't be marked as having received damage,
which is vital to updating the actual surface.
This commit is contained in:
Jasper St. Pierre 2014-08-21 18:30:56 -04:00
parent e73c46ce03
commit 9cb1c95e49

View File

@ -261,11 +261,10 @@ meta_surface_actor_process_damage (MetaSurfaceActor *self,
return;
}
if (!meta_surface_actor_is_visible (self))
return;
META_SURFACE_ACTOR_GET_CLASS (self)->process_damage (self, x, y, width, height);
meta_surface_actor_update_area (self, x, y, width, height);
if (meta_surface_actor_is_visible (self))
meta_surface_actor_update_area (self, x, y, width, height);
}
void