From 75fb072dc3986fd9bca47d29228741214c24f89c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 22 Jul 2015 13:56:19 -0400 Subject: [PATCH] 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(); -- 2.7.4