Elementary els_scroller: Fixed not moving when position is shown.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 1 May 2011 09:40:28 +0000 (09:40 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 1 May 2011 09:40:28 +0000 (09:40 +0000)
commit18fe7e193f1427012637fce10016c701547438ba
tree0bb0f5e6e7d1a13b2c8122faf0c85490b3106a33
parentdbb0bef578a982eb5014522cc98d00abe45f15ea
Elementary els_scroller: Fixed not moving when position is shown.

The scroller shouldn't move when the position requested is already
shown. There were two problems:
1. It was assumed that the cw/ch == requsted w/h which is not true, for
example with entry, we sometimes request to show the cursor which way
smaller.
2. We want to check the bounds *after* making sure we are not showing
"dead space" i.e places that the child does not populate.

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@59076 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/els_scroller.c