Fix bug of moving cursor handler
authorThiep Ha <thiepha@gmail.com>
Thu, 6 Mar 2014 10:33:05 +0000 (19:33 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 6 Mar 2014 11:14:11 +0000 (20:14 +0900)
commitf7a1955ebbc4223cdcd77d5c76fc9ca1c9f625c6
tree2bec48178da2a12f2bd36963b91a7973afdae2ed
parent0cd2ab1b52568aaead84042e69fe7cf9dd4e8399
Fix bug of moving cursor handler

Summary:
In elm entry, cursor handlers are placed and moved incorrectly if we do selection from bottom to top.
Ex: In elementary_test -> Entry -> Right click -> choose Select -> do selection from bottom to top (or press Shift + <- keys to do selection).
Look at selection handlers: they are incorrectly placed.
Try to move selection handlers: They suddenly move to near each other.

Minor: Remove unused variable.

@fix

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D583
src/lib/elm_entry.c
src/lib/elm_widget_entry.h