mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +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,7 +1225,8 @@ clutter_texture_set_cogl_texture (ClutterTexture *texture,
|
||||
priv->width,
|
||||
priv->height);
|
||||
|
||||
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
|
||||
if (priv->sync_actor_size)
|
||||
clutter_actor_queue_relayout (CLUTTER_ACTOR (texture));
|
||||
}
|
||||
|
||||
/* rename signal */
|
||||
|
Loading…
Reference in New Issue
Block a user