[Xfce-bugs] [Bug 5927] gnome-screensaver not activated

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Dec 6 16:00:56 CET 2009


--- Comment #9 from Michael Rasmussen <mir at datanom.net> 2009-12-06 15:00:54 UTC ---
(In reply to comment #8)
> Why not simple fork gnome-screensaver and in this fork revert to the old
> behavior?

By studying the source for gnome-screensaver it seems to be these 3 functions
in gs-watcher-x11.c which would need a rewrite:
static void
on_presence_status_changed (DBusGProxy    *presence_proxy,
                            guint          status,
                            GSWatcher     *watcher)
static void
on_presence_status_text_changed (DBusGProxy    *presence_proxy,
                                 const char    *status_text,
                                 GSWatcher     *watcher)
static gboolean
connect_presence_watcher (GSWatcher *watcher)

Eg. rewrite connect_presence_wather to optain idle signal from another source
than gnome-session and adjust the two callbacks to reflect this change.

Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Xfce-bugs mailing list