From 62f251574f06c414abdd1dc9d53ae4492a66aeb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 31 Mar 2020 11:21:27 +0200 Subject: [PATCH] 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 --- clutter/clutter/clutter-stage.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index df3a4c3c3..3225a7cb7 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -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); }