X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_session_is_active.xml;h=e9840669c27c4efa4b0181bf5c88ba63c6a6e79c;hb=e7aa89f9096de9e0173260267ed3f1914f860ebc;hp=5006be4df5421536518bc30d7dd4382098529417;hpb=5aded369782f28255bc6b494ca905d7acaea7a56;p=elogind.git
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