When searching for the next resolution to snap to, do Not skip

refresh_rate checks (allows resize events which keep the current rate).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82884
This commit is contained in:
Christopher Michael 2013-01-16 11:56:44 +00:00 committed by Christopher Michael
parent 01eb2c4cc0
commit 37908f9b73
1 changed files with 1 additions and 3 deletions

View File

@ -1062,8 +1062,6 @@ _e_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
/* try to get the objects smart data */
if (!(sd = evas_object_smart_data_get(obj))) return;
if ((sd->w == h) && (sd->w == h)) return;
sd->w = w;
sd->h = h;
@ -1810,7 +1808,7 @@ _e_smart_monitor_resize_event(E_Smart_Data *sd, Evas_Object *mon, void *event)
// ************************* BEGIN SNAP RESIZING ************************
/* find the next nearest resolution to this new size */
if ((mode = _e_smart_monitor_resolution_get(sd, nw, nh, EINA_TRUE)))
if ((mode = _e_smart_monitor_resolution_get(sd, nw, nh, EINA_FALSE)))
{
/* reset current mode to match */
sd->current.mode = mode;