mirror of
https://github.com/brl/mutter.git
synced 2025-03-06 13:18:15 +00:00
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:
parent
8ebf46d74c
commit
3ff502fbb2
@ -330,7 +330,7 @@ clutter_stage_allocate (ClutterActor *self,
|
|||||||
width, height,
|
width, height,
|
||||||
origin_changed ? "changed" : "not changed");
|
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 */
|
/* Ensure the window is sized correctly */
|
||||||
if (!priv->is_fullscreen)
|
if (!priv->is_fullscreen)
|
||||||
@ -386,7 +386,7 @@ clutter_stage_allocate (ClutterActor *self,
|
|||||||
origin_changed ? "changed" : "not changed");
|
origin_changed ? "changed" : "not changed");
|
||||||
|
|
||||||
/* and store the overridden allocation */
|
/* 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
|
/* XXX: Until Cogl becomes fully responsible for backend windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user