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
1 changed files with 0 additions and 3 deletions
|
@ -1564,9 +1564,6 @@ _clutter_stage_has_full_redraw_queued (ClutterStage *stage)
|
|||
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage))
|
||||
return FALSE;
|
||||
|
||||
if (!stage->priv->redraw_pending)
|
||||
return FALSE;
|
||||
|
||||
return is_full_stage_redraw_queued (stage);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue