Don't scale the window if we aren't using scaling.
This commit is contained in:
parent
676d7ee77e
commit
84ec37218f
@ -246,8 +246,11 @@ ecdb_create_main_gui(void)
|
||||
edje_object_size_min_get(em->page->gui, &mw, &mh);
|
||||
if (mw <= 0) mw = 400;
|
||||
if (mh <= 0) mh = 300;
|
||||
mw = (int)((float)mw * em->scalef);
|
||||
mh = (int)((float)mh * em->scalef);
|
||||
if (ecore_config_boolean_get("use_scale"))
|
||||
{
|
||||
mw = (int)((float)mw * em->scalef);
|
||||
mh = (int)((float)mh * em->scalef);
|
||||
}
|
||||
evas_object_resize(em->page->gui, mw, mh);
|
||||
ecore_evas_resize(em->main_win_ee, mw, mh);
|
||||
ecore_evas_size_min_set(em->main_win_ee, mw, mh);
|
||||
|
Loading…
Reference in New Issue
Block a user