Emmanuele Bassi 14572f4db0 actor: Call show() on set parent conditionally
This commit adds a further conditional check for calling
clutter_actor_show() when adding a child to an actor. We cannot
unconditionally change the value of the show-on-set-parent property like
the original solution of commit 81b19a78f5e02ae8ffd9235054d80b172496415b
as that breaks the document invariant that show-on-set-parent will be
changed iff an actor is without a parent.

The new ADD_CHILD_SHOW_ON_SET_PARENT flag is part of the default and
legacy flags, thus retaining the default behaviour when adding a child;
the flag is not passed when reordering the list of children, which means
we ignore the state of the show-on-set-parent property.

The conformance test suite fully passes, including the newly added test
to verify that changing the paint order does not trigger visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=674510
2012-04-26 14:06:00 +01:00
..
2012-04-21 13:46:00 +01:00
2011-11-10 19:05:39 +01:00
2012-04-17 18:10:39 +01:00
2012-03-20 14:36:58 +00:00
2012-02-23 12:01:11 +00:00
2011-10-19 15:23:55 +01:00
2011-10-19 15:23:55 +01:00
2011-11-10 14:13:45 +00:00
2012-04-17 18:10:39 +01:00
2012-01-16 23:35:16 +00:00
2011-06-07 16:06:24 +01:00
2012-03-16 16:16:40 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-02-23 17:21:57 +00:00
2012-03-20 12:06:21 +00:00
2011-06-07 16:06:24 +01:00
2012-04-17 18:10:39 +01:00
2012-03-19 14:29:24 +00:00
2012-04-17 18:10:39 +01:00