I don't think that all the tests on _dpms_available are necessary. Your
program has to test it once, then do the necessary to not use the dpms
functions.
Vincent
On Tue, 13 Mar 2007, Enlightenment CVS wrote:
> Log Message:
> Fix up ecore_x_dpms...formatting, removed the static int's for dpms version
> as they are not used anywhere other than the init function. Added traps for
> dpms_available before calling any dpms functions.
>
> @@ -55,10 +49,10 @@
> EAPI int
> ecore_x_dpms_capable_get(void)
> {
> + if (!_dpms_available) return 0;
> return DPMSCapable(_ecore_x_disp);
> }
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel