this change was originally made to fix issues where randr mode would constantly change the backlight level without apparent cause
On Wed, Aug 15, 2012 at 10:31 AM, Enlightenment SVN < [email protected]> wrote: > Log: > umm lets use xrandr first/ it SHOULD be better than going to /sys as a > primary backlight control. > > > > Author: raster > Date: 2012-08-15 02:31:10 -0700 (Wed, 15 Aug 2012) > New Revision: 75288 > Trac: http://trac.enlightenment.org/e/changeset/75288 > > Modified: > trunk/e/src/bin/e_backlight.c > > Modified: trunk/e/src/bin/e_backlight.c > =================================================================== > --- trunk/e/src/bin/e_backlight.c 2012-08-15 09:30:26 UTC (rev 75287) > +++ trunk/e/src/bin/e_backlight.c 2012-08-15 09:31:10 UTC (rev 75288) > @@ -298,15 +298,6 @@ > int num = 0; > > root = zone->container->manager->root; > -#ifdef HAVE_EEZE > - _bl_sys_find(); > - if (bl_sysval) > - { > - sysmode = MODE_SYS; > - _bl_sys_level_get(); > - return; > - } > -#endif > // try randr > out = ecore_x_randr_window_outputs_get(root, &num); > if ((out) && (num > 0) && (ecore_x_randr_output_backlight_available())) > @@ -316,7 +307,17 @@ > { > bl_val = x_bl; > sysmode = MODE_RANDR; > + return; > } > +#ifdef HAVE_EEZE > + _bl_sys_find(); > + if (bl_sysval) > + { > + sysmode = MODE_SYS; > + _bl_sys_level_get(); > + return; > + } > +#endif > } > > static void > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
