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,12 +1554,9 @@ set_show_on_set_parent (ClutterActor *self,
|
|||||||
if (priv->show_on_set_parent == set_show)
|
if (priv->show_on_set_parent == set_show)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (priv->parent == NULL)
|
priv->show_on_set_parent = set_show;
|
||||||
{
|
g_object_notify_by_pspec (G_OBJECT (self),
|
||||||
priv->show_on_set_parent = set_show;
|
obj_props[PROP_SHOW_ON_SET_PARENT]);
|
||||||
g_object_notify_by_pspec (G_OBJECT (self),
|
|
||||||
obj_props[PROP_SHOW_ON_SET_PARENT]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user