[MPlayer-dev-eng] screensaver patch
Nirbheek Chauhan
nirbheek.chauhan at gmail.com
Thu Mar 15 08:24:36 CET 2007
This discussion is getting a bit too serious,
I believe the following link is very relevant to the ongoing discussion
about this patch :)
http://xkcd.com/c196.html
On 3/14/07, Adam Tlałka <atlka at pg.gda.pl> wrote:
>
> Welcome,
>
> Dnia Tue, 13 Mar 2007 17:41:59 +0200
> "Ivan Kalvachev" <ikalvachev at gmail.com> napisał(a):
>
> > 2007/3/9, A Mennucc <mennucc1 at debian.org>:
> > > I understand that this is not the perfect solution; it is just a
> > > compromise, to provide a (partial) solution for the
> > > gnome-screensaver.
>
> As I wrote before this method works with Xserver DPMS, internal blanking
> and screensaver and external xscreensaver and gnome-screensaver -
> tested. Probably it works with any screensaver program which can notice
> mouse motions or observe Xserver internal idle variable.
> Only disadvantage is that mouse must be in video window.
> Other hackish methods can be deleted or not used in case when mouse is
> inside video window. So I suggest then if this method is used do not
> use other methods at the same time.
>
> If XServer supports Xss and screensaver works as expected the proper
> method is XSuspendScreenSaver call (but we must test if Xss has this
> call implemented) or periodically called XResetScreensaver
> which doesn't need Xss extension usage on mplayer's side.
> So there should be also some code which presents desired method of
> disabling screensaver activaction - probably next patch.
> Now we have only hacks ;).
>
> > However I'd request 2 modifications.
> > 1. I see that you use variable "mouse_ignore_motion". You set it
> > before moving the cursor and clear it in the event loop. However I'd
> > like if you ignore motion only if it is not-bigger than the
> > fake_move_distance
>
> Good. I'am for it too. ;)
>
> > 2. I'd like this behavior conditioned under global option. Se we can
> > write in the home page, "if you have problem use the
> > '-hack-my-buggy-screensaver-that-does-not-support-Xss'"
> > ;)
>
> maybe -use-screensaver-hack or just -buggy-screensaver as an option
>
> Regards
> --
> Adam Tlałka mailto:atlka at pg.gda.pl ^v^ ^v^ ^v^
> System & Network Administration Group - - - ~~~~~~
> Computer Center, Gdańsk University of Technology, Poland
> PGP public key: finger atlka at sunrise.pg.gda.pl
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
--
Nirbheek Chauhan
Sophomore UG
Civil Engg
"..."
-- Nirbheek Chauhan
More information about the MPlayer-dev-eng
mailing list