forked from enlightenment/enlightenment
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
This commit is contained in:
parent
818fcb01f4
commit
75fb072dc3
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue