mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
[actor] In paint when opacity == 0, clear the queued_redraw flag
If we are short-circuiting the paint when the opacity is zero we still need to clear the queued_redraw flag otherwise it won't be possible to queue another redraw of the actor until something else has caused a paint first.
This commit is contained in:
parent
b3fe1b8a8a
commit
654c26a130
@ -1567,7 +1567,10 @@ clutter_actor_paint (ClutterActor *self)
|
||||
* actors with 0 opacity to be a NOP... */
|
||||
if (G_LIKELY (context->pick_mode == CLUTTER_PICK_NONE) &&
|
||||
priv->opacity == 0)
|
||||
{
|
||||
priv->queued_redraw = FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!CLUTTER_ACTOR_IS_REALIZED (self))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user