[clutter/wip/correct-opacity: 6/9] clutter-actor: Redraw or relayout when clearing effects or constraints
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/correct-opacity: 6/9] clutter-actor: Redraw or relayout when clearing effects or constraints
- Date: Wed, 30 Mar 2011 16:18:22 +0000 (UTC)
commit 2777c4095cf654beb762a6a6a50fadf3a89551ca
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.
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 1451975..2994ada 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -11305,6 +11305,8 @@ clutter_actor_clear_constraints (ClutterActor *self)
return;
_clutter_meta_group_clear_metas_no_internal (self->priv->constraints);
+
+ clutter_actor_queue_relayout (self);
}
/**
@@ -11561,6 +11563,8 @@ clutter_actor_clear_effects (ClutterActor *self)
return;
_clutter_meta_group_clear_metas_no_internal (self->priv->effects);
+
+ clutter_actor_queue_redraw (self);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]