raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=c3ec526cec23c6bf571d388841a8f59bdfb8661c

commit c3ec526cec23c6bf571d388841a8f59bdfb8661c
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Nov 16 11:25:11 2016 +0900

    wizard - do not set scale to 1.2 forcibly. use dpi as the def prof says
    
    the default profiel is configureed to use dpi to scale. if dpi goes up
    so does wizard scaling. setitng to 1.2 forcibly is just wrong. imagine
    a uhd screen thats 13" or imagine an 8k display... at least if dpi can
    be read correctly things work out find. think the base dpi of 90 is
    too high - then adjust that in profile... but not in wizard code.
    
    this has been here a while and i always thought this scaling bumping
    was a dpi effect. it wasnt. it was hardcoded. bad bad.
    
    @fix.
---
 src/modules/wizard/e_mod_main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/modules/wizard/e_mod_main.c b/src/modules/wizard/e_mod_main.c
index b56d07a..37a1089 100644
--- a/src/modules/wizard/e_mod_main.c
+++ b/src/modules/wizard/e_mod_main.c
@@ -53,10 +53,6 @@ e_modapi_init(E_Module *m)
    wiz_module = m;
    e_wizard_init();
 
-   e_config->scale.use_dpi = 0;
-   e_config->scale.use_custom = 1;
-   e_config->scale.factor = 1.2;
-   e_scale_update();
    src_path = getenv("E_MODULE_SRC_PATH");
    if (src_path)
      snprintf(buf, sizeof(buf), "%s/.libs", e_module_dir_get(m));

-- 


Reply via email to