mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1124 - Clutter causes an additional size request in each allocation * clutter/clutter-actor.c: (clutter_actor_store_old_geometry): Store the allocation instead of causing a new size-request cycle. (Johan Bilien)
This commit is contained in:
parent
9f0842bacb
commit
a4b0ffe1de
@ -1,3 +1,12 @@
|
||||
2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||
|
||||
Bug 1124 - Clutter causes an additional size request in each
|
||||
allocation
|
||||
|
||||
* clutter/clutter-actor.c:
|
||||
(clutter_actor_store_old_geometry): Store the allocation instead
|
||||
of causing a new size-request cycle. (Johan Bilien)
|
||||
|
||||
2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||
|
||||
Bug 1125 - Save an extra pango_layout_get_size in many cases
|
||||
|
@ -710,10 +710,7 @@ static void
|
||||
clutter_actor_store_old_geometry (ClutterActor *self,
|
||||
ClutterActorBox *box)
|
||||
{
|
||||
box->x1 = clutter_actor_get_xu (self);
|
||||
box->y1 = clutter_actor_get_yu (self);
|
||||
box->x2 = box->x1 + clutter_actor_get_widthu (self);
|
||||
box->y2 = box->y1 + clutter_actor_get_heightu (self);
|
||||
*box = self->priv->allocation;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Loading…
Reference in New Issue
Block a user