mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
Bug 1414 - avoid relayout of ClutterTexture if not syncing size
If a ClutterTexture does not sync size, it should be possible to change the texture size without causing a relayout. Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
9ccae46bc1
commit
81f642d4b7
@ -1225,6 +1225,7 @@ clutter_texture_set_cogl_texture (ClutterTexture *texture,
|
|||||||
priv->width,
|
priv->width,
|
||||||
priv->height);
|
priv->height);
|
||||||
|
|
||||||
|
if (priv->sync_actor_size)
|
||||||
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
|
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user