mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
clutter/stage: Always check stage views when checking for full redraw
It's an optimization to check whether there are any redraws on the stage by checking the 'redraw-pending' field. That field is going away, so remove that optimization. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
This commit is contained in:
parent
59eebd6f6d
commit
62f251574f
@ -1564,9 +1564,6 @@ _clutter_stage_has_full_redraw_queued (ClutterStage *stage)
|
|||||||
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage))
|
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!stage->priv->redraw_pending)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
return is_full_stage_redraw_queued (stage);
|
return is_full_stage_redraw_queued (stage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user