mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
actor: Unconditionally set show_on_set_parent
Otherwise, doing something like adjusting the child's position on a hidden actor will re-show it, which is not what we want. https://bugzilla.gnome.org/show_bug.cgi?id=674510
This commit is contained in:
parent
0287dc26ad
commit
81b19a78f5
@ -1554,13 +1554,10 @@ set_show_on_set_parent (ClutterActor *self,
|
||||
if (priv->show_on_set_parent == set_show)
|
||||
return;
|
||||
|
||||
if (priv->parent == NULL)
|
||||
{
|
||||
priv->show_on_set_parent = set_show;
|
||||
g_object_notify_by_pspec (G_OBJECT (self),
|
||||
obj_props[PROP_SHOW_ON_SET_PARENT]);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_actor_show:
|
||||
|
Loading…
Reference in New Issue
Block a user