who broke backlight? FIX!

SVN revision: 67293
This commit is contained in:
Carsten Haitzler 2012-01-18 15:27:10 +00:00
parent 39fa544056
commit 238d7ae904
1 changed files with 5 additions and 2 deletions

View File

@ -40,9 +40,12 @@ e_backlight_init(void)
#ifdef HAVE_EEZE
eeze_init();
#endif
bl_avail = ecore_x_randr_output_backlight_available();
// why did someone do this? this makes it ONLY work if xrandr has bl support.
// WRONG!
// bl_avail = ecore_x_randr_output_backlight_available();
bl_avail = EINA_TRUE;
if (bl_avail == EINA_TRUE)
// if (bl_avail == EINA_TRUE)
{
e_backlight_update();
e_backlight_level_set(NULL, 0.0, 0.0);