mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
stage: Ignore do_update() on unrealized stages
An unrealized stage has no resources set yet, so we might as well skip it during the master clock spin. https://bugzilla.gnome.org/show_bug.cgi?id=652566
This commit is contained in:
parent
81e9bf6127
commit
05bcd40729
@ -1062,6 +1062,9 @@ _clutter_stage_do_update (ClutterStage *stage)
|
|||||||
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage) || priv->impl == NULL)
|
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage) || priv->impl == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
/* NB: We need to ensure we have an up to date layout *before* we
|
/* NB: We need to ensure we have an up to date layout *before* we
|
||||||
* check or clear the pending redraws flag since a relayout may
|
* check or clear the pending redraws flag since a relayout may
|
||||||
* queue a redraw.
|
* queue a redraw.
|
||||||
|
Loading…
Reference in New Issue
Block a user