X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_session_is_active.xml;fp=man%2Fsd_session_is_active.xml;h=e9840669c27c4efa4b0181bf5c88ba63c6a6e79c;hp=5006be4df5421536518bc30d7dd4382098529417;hb=c72d5456e2d6a6c8cefbfc16a542ae03a769397f;hpb=7f3d3ba1a61f28a951ca5fbe59ed15c7ce55219c diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 5006be4df..e9840669c 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -51,6 +51,7 @@ sd_session_get_service sd_session_get_type sd_session_get_class + sd_session_get_desktop sd_session_get_display sd_session_get_tty sd_session_get_vt @@ -109,6 +110,12 @@ char **class + + int sd_session_get_desktop + const char *session + char **desktop + + int sd_session_get_display const char *session @@ -218,6 +225,22 @@ free3 call after use. + sd_session_get_desktop() may + be used to determine the brand of the desktop running on + the session identified by the specified session identifier. + This field can be set freely by desktop environments and + does not follow any special formatting. However, desktops + are strongly recommended to use the same identifiers and + capitalization as for + $XDG_CURRENT_DESKTOP, as defined by + the Desktop + Entry + Specification. The returned string needs to be + freed with the libc + free3 + call after use. + sd_session_get_display() may be used to determine the X11 display of the session identified by the specified session