mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
actor: _real_queue_relayout shouldn't queue redraw
The base implementation for the actor queue_relayout method was queuing an implicit redraw, but there shouldn't be anything implied from the mere process of queuing a redraw that should force us to queue a redraw. If actors are moved as a part of relayouting later then they will queue a redraw. Also clutter_actor_queue_relayout() still also explicitly queues a redraw so I think this may have been doubly redundant.
This commit is contained in:
parent
dc97692271
commit
120d7595e3
@ -1863,12 +1863,9 @@ clutter_actor_real_queue_relayout (ClutterActor *self)
|
||||
memset (priv->height_requests, 0,
|
||||
N_CACHED_SIZE_REQUESTS * sizeof (SizeRequest));
|
||||
|
||||
/* always repaint also (no-op if not mapped) */
|
||||
clutter_actor_queue_redraw (self);
|
||||
|
||||
/* We need to go all the way up the hierarchy */
|
||||
if (priv->parent_actor)
|
||||
clutter_actor_queue_relayout (priv->parent_actor);
|
||||
_clutter_actor_queue_only_relayout (priv->parent_actor);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user