From bcd5ea12f5e9078702a78ed1af4c7905ee56f8bf Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 5 Sep 2013 20:50:51 -0300 Subject: idle-inhibit: Fix a few mistakes s/function/method/ and make a few things clearer. With help from Simon McVittie --- idle-inhibit/specification.xml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/idle-inhibit/specification.xml b/idle-inhibit/specification.xml index 3cc9ea3..d6b2cd1 100644 --- a/idle-inhibit/specification.xml +++ b/idle-inhibit/specification.xml @@ -63,19 +63,25 @@ - API documentation + API overview Idle inhibition is achieved by the application calling an Inhibit - function on a well-known D-Bus name. + method on a well-known D-Bus name. Inhibition will stop when the - UnInhibit function is called, or the application disconnects from the D-Bus + UnInhibit method is called, or the application disconnects from the D-Bus session bus (which usually happens upon exit). + + Implementations of this well-known bus name must have an object + /org/freedesktop/ScreenSaver which implements the + org.freedesktop.ScreenSaver interface. + + - API notes + Design notes The D-Bus service name, org.freedesktop.ScreenSaver, intentionally contains the word screensaver, as KDE implements the idle inhibition API in a screensaver -- cgit v1.2.3-70-g09d2