aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocols
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-03 17:41:01 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-03 17:41:01 +0200
commit27f730a80f70ca3d09475bea54338d8fe9ca8954 (patch)
treedcbe6bf97845a51e8fcd4b9bd23fc73ca2a42542 /doc/protocols
parentupdate todo (diff)
downloadmds-27f730a80f70ca3d09475bea54338d8fe9ca8954.tar.gz
mds-27f730a80f70ca3d09475bea54338d8fe9ca8954.tar.bz2
mds-27f730a80f70ca3d09475bea54338d8fe9ca8954.tar.xz
more on tray-update
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/protocols')
-rw-r--r--doc/protocols13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/protocols b/doc/protocols
index aa1c76c..a4147cd 100644
--- a/doc/protocols
+++ b/doc/protocols
@@ -286,6 +286,7 @@ Required header: Socket
Conditionally required header: Max colour
Required if: `Colour`-header is used
+ Required if: `Foreground`-header is used
Required if: `Alpha`-header is used
The maximum colour component value, for example, if using 24-bit
colour, which component will be 8-bit and the maximum value will
@@ -307,8 +308,12 @@ Conditionally required header: Bytes
subpixel has 8 bits, 48-bit colours will have this
set to 2 because each subpixel has 16 bits
-Conditionally optional header: Colour
- Available and option if: `Length`-header is not used
+Conditionally optional/required header: Colour
+ Available and optional if: `Length`-header is not used
+ Required if: `Foreground`-header but not `Length`-header is used
+ Single blank space-separated [0, <Max colour>] sRGB 3-tuple
+
+Conditionally optional header: Foreground
Single blank space-separated [0, <Max colour>] sRGB 3-tuple
Optional header: Alpha
@@ -317,6 +322,10 @@ Optional header: Alpha
Optional header: Length
Length of the message
+Optional header: Use urgency
+ yes) The icon tray may blink
+ no) The icon tray may not blink
+
Message: Raw binary encoding of the background image, bytes
are orders: row, pixel, channel (red, green, blue,
then optionally alpha), subpixel value (most