discomfitor pushed a commit to branch master.

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

commit 75fb072dc3986fd9bca47d29228741214c24f89c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 22 13:56:19 2015 -0400

    fix backlight init value
    
    in the case where xrandr is not used, setting backlight to very dim on init
    will result in the backlight remaining at a very dim level when the 
backlight
    normal level is 1.0 since backlight values will not successfully update 
until
    at least 0.05s after the main loop starts
    
    ref T1333
---
 src/bin/e_backlight.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c
index 9d6418c..f510ad2 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -65,10 +65,7 @@ e_backlight_init(void)
 #endif
    e_backlight_update();
    if (!getenv("E_RESTART"))
-     {
-        e_backlight_level_set(NULL, 0.1, 0.0);
-        e_backlight_level_set(NULL, e_config->backlight.normal, 0.0);
-     }
+     e_backlight_level_set(NULL, e_config->backlight.normal, 0.0);
 
    E_EVENT_BACKLIGHT_CHANGE = ecore_event_type_new();
 

-- 


Reply via email to