[clutter/clutter-1.6] clutter-actor: Redraw or relayout when clearing effects or constraints
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.6] clutter-actor: Redraw or relayout when clearing effects or constraints
- Date: Wed, 8 Jun 2011 12:30:56 +0000 (UTC)
commit dcace91d476085be76959d92b10d126df5292373
Author: Neil Roberts <neil linux intel com>
Date: Tue Mar 1 16:39:22 2011 +0000
clutter-actor: Redraw or relayout when clearing effects or constraints
When calling clutter_actor_clear_constraints the layout of the actor
may change so we need to queue a relayout. Similarly when the effects
are cleared we need to queue a redraw.
(cherry picked from commit 8df8d4ff0fa667cb25148b451ef754115f5c954b)
clutter/clutter-actor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index 5843e1d..f113964 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -11271,6 +11271,8 @@ clutter_actor_clear_constraints (ClutterActor *self)
return;
_clutter_meta_group_clear_metas (self->priv->constraints);
+
+ clutter_actor_queue_relayout (self);
}
/**
@@ -11530,6 +11532,8 @@ clutter_actor_clear_effects (ClutterActor *self)
return;
_clutter_meta_group_clear_metas (self->priv->effects);
+
+ clutter_actor_queue_redraw (self);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]