From 4c365a8e28adafd6619ada97d4239e9e6df429ab Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 19 Mar 2007 16:35:55 -0400 Subject: add CanActivateSessions to Seat interface And associated documentation and added to test-fus. --- doc/spec/ck-seat.xml | 12 ++++++++++++ doc/xml/ck-design.xml | 9 +++++++++ doc/xml/ref-ck-seat.xml | 12 +++++++----- 3 files changed, 28 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/spec/ck-seat.xml b/doc/spec/ck-seat.xml index 81fb1cc..1d154e7 100644 --- a/doc/spec/ck-seat.xml +++ b/doc/spec/ck-seat.xml @@ -52,6 +52,18 @@ seat at a time. + + + + TRUE if seat supports session activation + + + + Used to determine whether the seat supports session activation. + + + + diff --git a/doc/xml/ck-design.xml b/doc/xml/ck-design.xml index 086795c..1148773 100644 --- a/doc/xml/ck-design.xml +++ b/doc/xml/ck-design.xml @@ -61,6 +61,9 @@ The Session will remain open until the Session Leader disconnects from the D-Bus To determine which Seat it is running on. + To know if the current seat supports session switching. + + A list of all sessions on the current Seat. @@ -121,6 +124,12 @@ The Session will remain open until the Session Leader disconnects from the D-Bus To determine which session it is running in. + To determine which Seat it is running on. + + + To know if the current seat supports session switching. + + A list of all sessions on the current Seat. diff --git a/doc/xml/ref-ck-seat.xml b/doc/xml/ref-ck-seat.xml index 6161207..03f4176 100644 --- a/doc/xml/ref-ck-seat.xml +++ b/doc/xml/ref-ck-seat.xml @@ -8,10 +8,11 @@ Methods - GetId (out 'o' sid) -GetSessions (out 'ao' sessions) -GetActiveSession (out 'o' ssid) -ActivateSession (in 'o' ssid) + GetId (out 'o' sid) +GetSessions (out 'ao' sessions) +GetActiveSession (out 'o' ssid) +CanActivateSessions (out 'b' can_activate) +ActivateSession (in 'o' ssid) @@ -51,7 +52,8 @@ seat at a time. sessions:an array of Session IDs<anchor role="function" id="Seat.GetActiveSession"/>GetActiveSession ()GetActiveSessionSeatGetActiveSession (out 'o' ssid) Gets the Session ID that is currently active on this Seat. Returns NULL if there is no active session. - ssid:Session ID<anchor role="function" id="Seat.ActivateSession"/>ActivateSession ()ActivateSessionSeatActivateSession (in 'o' ssid) + ssid:Session ID<anchor role="function" id="Seat.CanActivateSessions"/>CanActivateSessions ()CanActivateSessionsSeatCanActivateSessions (out 'b' can_activate)Used to determine whether the seat supports session activation. + can_activate:TRUE if seat supports session activation<anchor role="function" id="Seat.ActivateSession"/>ActivateSession ()ActivateSessionSeatActivateSession (in 'o' ssid) Attempt to activate the specified session. In most cases, if successful, this will cause the session to become visible and take control of the hardware that is -- cgit