1
0
Fork 0

stage: Restore the chain up inside allocate()

Group does not have a custom allocate() any more, so it would end up
calling the default allocate() implementation provided by ClutterActor
anyway.
This commit is contained in:
Emmanuele Bassi 2012-01-20 14:55:57 +00:00
parent 8ebf46d74c
commit 3ff502fbb2

View file

@ -330,7 +330,7 @@ clutter_stage_allocate (ClutterActor *self,
width, height,
origin_changed ? "changed" : "not changed");
clutter_actor_set_allocation (self, box, flags);
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->allocate (self, box, flags);
/* Ensure the window is sized correctly */
if (!priv->is_fullscreen)
@ -386,7 +386,7 @@ clutter_stage_allocate (ClutterActor *self,
origin_changed ? "changed" : "not changed");
/* and store the overridden allocation */
clutter_actor_set_allocation (self, &override, flags);
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->allocate (self, &override, flags);
}
/* XXX: Until Cogl becomes fully responsible for backend windows