Comment 60 for bug 434476

Revision history for this message
In , Stransky (stransky) wrote :

(In reply to Karl Tomlinson (:karlt) from comment #3)
> IIUC this will inhibit the screensaver, even if there is an advert or audio
> playing out of view on any foreground tab of an unminimized window.

I tested it and it inhibits the screensaver in fullscreen mode only? Why do you think it affects non-fullscreen playback too?

> Does the screensaver that you work with support org.freedesktop.ScreenSaver?
> That sounds like the preferred API to use, but I haven't found official
> documentation. It seems very similar to org.gnome.ScreenSaver.
> http://lists.freedesktop.org/archives/xdg/2007-March/009187.html

org.freedesktop.ScreenSaver is outdated and does not work. The SessionManager is used by gnome itself (by http://git.gnome.org/browse/gtk+/tree/gtk/gtkapplication.c#n1412).