On Thursday 14 of May 2009, Ali Abdallah wrote: > Hi, > > It seems that the screen saver interfaces and bus name are not standard > yet! however i see this very important, since a media player shouldn't > guess which screen saver is running on the current session in order to > use its inhibit interface. > > Please standardize this,
Actually, the way to inhibit the screensaver on X was standardized ages ago - it's XResetScreensaver(), in Xlib. It resets the user inactivity counter, it prevents DPMS from activating, there's no need to turn anything off and on again and worry what happens when the app crashes or there are two of them. It's enough to just repeatedly call this (and the player is already busy doing something anyway, isn't it?). Don't other screensavers obey that? -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: [email protected] , [email protected] Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
