On Wed, 4 Feb 2015 10:57:58 +0400 Vasiliy Tolstov <v.tols...@selfip.ru> said:
> 2015-02-03 19:24 GMT+03:00 Andreas Kurth <use...@akurth.de>: > > > At least you are not alone. I'm facing the same problem running a > > Samsung RF-510 with GeForce GT 330M, X login managed by kdm. > > > > I "fixed" that for my machine by commenting out lines 58,59 in > > src/bin/e_backlight.c: > > > > if (!getenv("E_RESTART")) > > { > > //e_backlight_level_set(NULL, 0.1, 0.0); > > //e_backlight_level_set(NULL, e_config->backlight.normal, 0.0); > > } > > > > > > Cheers, Andreas. > > > > Thanks, > > Why in this piece of code backlight level setted to backlight.normal ? Why > not restore original value before enlightenment shut downed? > > > 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_EVENT_BACKLIGHT_CHANGE = ecore_event_type_new(); > > return 1;} that's on startup of e - and e sets it to the level configured in its config as the normal backlight level (in e settings). well first 0.1 then to normal level immediately after. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel