elm_entry: restrict focus region to inside of entry object area
authorJiwon Kim <jiwon177.kim@samsung.com>
Mon, 27 Jun 2016 06:04:20 +0000 (15:04 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 27 Jun 2016 06:45:10 +0000 (15:45 +0900)
commit7a17f6fb47b38969a786475757f43c1853a934f0
treea78b7292f06992ddbbf16c3cf72c152019f4abb9
parentb48726989d5b8de0079dadd061de566514124143
elm_entry: restrict focus region to inside of entry object area

Summary:
Focus region must be located in entry object.
Therefore if it get out of entry,
 it just returns last cursor position that can be shown.

@fix

Test Plan:
1. elementary_test "Entry on Page Scroll"
2. click 2nd btn and close popup
3. page should not be scrolled

Reviewers: raster, herdsman, id213sin, woohyun, tasn, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4072
data/elementary/objects/test.edc
src/bin/elementary/test_entry.c
src/lib/elementary/elm_entry.c