summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-11-30 09:34:17 +0000
committerMark McLoughlin <mark@skynet.ie>2004-11-30 09:34:17 +0000
commit87fb46a8631a8b509bb1b8026b88c7059f869ffd (patch)
tree8e02ee9495222de6cf9af4ac49a54ab589338093
parent183944b892e57f26f5ea7e57dd932e4fe2fed015 (diff)
downloadxdg-specs-87fb46a8631a8b509bb1b8026b88c7059f869ffd.tar.xz
add _NET_SYSTEM_TRAY_ORIENTATION.
2004-11-30 Mark McLoughlin <mark@skynet.ie> * systemtray-spec.xml: add _NET_SYSTEM_TRAY_ORIENTATION.
-rw-r--r--systemtray/ChangeLog4
-rw-r--r--systemtray/systemtray-spec.xml42
2 files changed, 44 insertions, 2 deletions
diff --git a/systemtray/ChangeLog b/systemtray/ChangeLog
new file mode 100644
index 0000000..7acaf3a
--- /dev/null
+++ b/systemtray/ChangeLog
@@ -0,0 +1,4 @@
+2004-11-30 Mark McLoughlin <mark@skynet.ie>
+
+ * systemtray-spec.xml: add _NET_SYSTEM_TRAY_ORIENTATION.
+
diff --git a/systemtray/systemtray-spec.xml b/systemtray/systemtray-spec.xml
index b5f1568..d264343 100644
--- a/systemtray/systemtray-spec.xml
+++ b/systemtray/systemtray-spec.xml
@@ -5,8 +5,8 @@
<article id="index">
<articleinfo>
<title>System Tray Protocol Specification</title>
- <releaseinfo>Version 0.1</releaseinfo>
- <date>19 September 2002</date>
+ <releaseinfo>Version 0.2</releaseinfo>
+ <date>23 November 2004</date>
<authorgroup>
<author>
<firstname>Havoc</firstname>
@@ -256,6 +256,32 @@ _NET_WM_ICON CARDINAL[][2+n]/32
</sect1>
+ <sect1 id="manager-hints">
+ <title>Tray manager hints</title>
+ <para>
+The tray manager should set the following hints on the selection
+owner window.
+ </para>
+
+ <sect2>
+ <title>_NET_SYSTEM_TRAY_ORIENTATION</title>
+ <programlisting><![CDATA[
+_NET_SYSTEM_TRAY_ORIENTATION orientation CARDINAL/32
+]]>
+ #define _NET_SYSTEM_TRAY_ORIENTATION_HORZ 0
+ #define _NET_SYSTEM_TRAY_ORIENTATION_VERT 1
+ </programlisting>
+
+ <para>
+The property should be set by the tray manager to indicate the current
+orientation of the tray. Tray icons may use this hint in order to
+maintain the icon's aspect ratio and also as an indication of how the
+icon contents should be laid out.
+ </para>
+
+ </sect2>
+ </sect1>
+
<sect1 id="balloon">
<title>Balloon messages</title>
<para>
@@ -327,6 +353,18 @@ _NET_WM_ICON CARDINAL[][2+n]/32
<appendix id="changes">
<title>Change history</title>
<formalpara>
+ <title>Version 0.2, 23 November 2004, Mark McLoughlin</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Added the _NET_SYSTEM_TRAY_ORIENTATION hint.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
<title>Version 0.1, 20 April 2002, Havoc Pennington</title>
<para>
<itemizedlist>