screensaver and power manager dbus interfaces

Jason Keirstead jason at keirstead.org
Thu Jun 1 12:31:21 BST 2006


On Thursday 01 June 2006 6:50 am, Thiago Macieira wrote:
> Disable/enable should be ref-counted so that if two applications ask for
> the screensaver to be disabled, both have to ask for it to be turned on
> again before it is.

(Lurking)

That seems a bit odd to me.  It raises all kinds of questions - what about 
calls coming from schell scripts via DBUS? Or, what if a calling app that 
disables the screensaver is killed off or dies before re-enabling it?

A periodic 'Poke' by any app wanting to disable it seems safer. Then if the 
app is hung or dies the 'Poke' stops happening, so the screen-saver is 
re-activated. 





More information about the kde-core-devel mailing list