[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Turning off screensavers [xarafaxz@nxxx: KMplayer feature request]
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2006-01-11 13:57:18
Message-ID: 20060111135718.GB87002 () xs4all ! nl
[Download RAW message or body]

On 2006-01-11 13:39, Lubos Lunak wrote:
> Yes, but don't think we have any kdelibs code for that, right now one would
> need to do direct calls to the DPMS extension. Which, from looking at the
> code in kdesktop, isn't exactly trivial, so I'd prefer to put it in kdelibs
> if you want it - any idea where?

Some static Screen, Display or Desktop object, Qt has qApp->desktop().

>  And I think that should be actually everything needed. There's code in our
> screensaver code that detect the state of DPMS and doesn't start saving if
> DPMS is off (used to be a GUI option, even defaulting to off, but that's not
> longer the case with 3.5).

Yes only one option for both DPMS and screensaver from application
perspective. It would be even nicer if an application can turn it off
and restore it again, so it wouldn't have to remember if it was on or
not. (Pushing my luck a bit further, and when the application exits it
would automatically be restored :-)

Koos
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic