Nasty bugfix: allow smart calculate to mark object as dirty again.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 11 Dec 2008 21:55:22 +0000 (21:55 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 11 Dec 2008 21:55:22 +0000 (21:55 +0000)
commit33cbad329ed2b9451e41352caa7c197ac618ee3a
tree45334684ff34f30aad2520fd2a5ed8c66e3059bd
parent4cae1aa186a86c42843cf3aaf5ac9c521fb8ace9
Nasty bugfix: allow smart calculate to mark object as dirty again.

Wow, this was tricky to find since it is hard to trigger, thanks to
Canola complex edje files we could spot it!

In some cases we end with object being marked as dirty while
calculating its state (ie: edje), then we need to run smart calculate
again.

This has a drawback however: we cannot check for need_recalculate()
inside smart calculate anymore, we must assume it is only called if
the flag is set. To avoid that we could mark a shadow member and use
that or use a counter, that has the problem of using more data.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_object_smart.c