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:
parent
e73c46ce03
commit
9cb1c95e49
@ -261,11 +261,10 @@ meta_surface_actor_process_damage (MetaSurfaceActor *self,
|
|||||||
return;
|
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_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
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user