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:
Jonas Ådahl 2020-03-31 11:21:27 +02:00
parent 59eebd6f6d
commit 62f251574f

View File

@ -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);
}