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

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdepim
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2009-01-21 23:26:15
Message-ID: 200901212326.32942.software () astrojar ! org ! uk
[Download RAW message or body]


On Wed 21 January 2009 23:00:26 David Jarvie wrote:
> On Wed 21 January 2009 22:20:28 Oswald Buddenhagen wrote:
> > On Wed, Jan 21, 2009 at 07:19:35PM +0000, David Jarvie wrote:
> > > SVN commit 914790 by djarvie:
> > >
> > > Cancel screensaver when an alarm is displayed.
> >
> > you do realize that you can do that with XForceScreenSaver()?
>
> No I didn't realise - I copied the method used in KDE 4's
> KNotificationRestrictions. I'll try your method instead, which looks a lot
> better. Thanks for the suggestion.

I tried the following code, but it doesn't cancel the screen saver (the saver 
being set up by the Screen Saver Control Centre module, not by power save):

XForceScreenSaver(qt_xdisplay(), ScreenSaverReset);

Any idea why it doesn't work?

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/kalarm

["signature.asc" (application/pgp-signature)]

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

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