Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry...
authorjaehwan <jaehwan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Nov 2011 06:37:30 +0000 (06:37 +0000)
committerjaehwan <jaehwan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 22 Nov 2011 06:37:30 +0000 (06:37 +0000)
commitfdddc4d2967e24f4bce5a7bc71604fa99c717d32
tree32c295ea61cd0cb6828ea076ce8fcc3198bc6b56
parent35e70fa5c534de9900e24cc1c00de988ae5cf07e
Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry of the child object, but the geometry has yet to be calculated and is queued for calculation later.
Firstly, for efficiency, we add a Job to calculate the whole canvas. Jobs implicitly coallate work per event loop.
Calcuation of object can be a reasonably intensive set of work.
In the job callback we calculate the whole canvas with evas_smart_objects_calculate() to ensure that all objects have the correct geometry at this point.
Reviewed by Raster.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@65509 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/elm_conform.c
src/lib/elm_widget.c