Description derived from a message on the vnc-list:
http://www.realvnc.com/pipermail/vnc-list/2008-January/058496.html

Signed-off-by: Peter Rosin <p...@lysator.liu.se>

Cheers,
Peter

diff --git a/rfbproto.rst b/rfbproto.rst
index 55f96e7..7a25583 100644
--- a/rfbproto.rst
+++ b/rfbproto.rst
@@ -1373,6 +1373,7 @@ Number      Name
 -239        `Cursor Pseudo-encoding`_
 -223        `DesktopSize Pseudo-encoding`_
 -305        `gii Pseudo-encoding`_
+-307        `DesktopName Pseudo-encoding`_
 -308        `ExtendedDesktopSize Pseudo-encoding`_
 =========== ===========================================================
 
@@ -1390,7 +1391,6 @@ Number                      Name
 -257 to -272                Anthony Liguori
 -273 to -304                VMWare
 -306                        popa
--307                        Peter Astrand DesktopName
 -309                        Colin Dean xvp
 0x574d5600 to 0x574d56ff    VMWare
 =========================== ===========================================
@@ -1961,6 +1961,23 @@ where the standard input model is insufficient. It 
supports relative
 mouse movements, mouses with more than 8 buttons and mouses with more
 than three axes. It even supports joysticks and gamepads.
 
+DesktopName Pseudo-encoding
+---------------------------
+
+A client which requests the DesktopName pseudo-encoding is declaring
+that it is capable of coping with a change of the desktop name. The
+server changes the desktop name by sending a pseudo-rectangle with the
+DesktopName pseudo-encoding in an update. The pseudo-rectangle's
+x-position, y-position, width, and height must be zero. After the
+rectangle header, a string with the new name follows.
+
+=============== =================== ===================================
+No. of bytes    Type                Description
+=============== =================== ===================================
+4               ``U32``             *name-length*
+*name-length*   ``U8`` array        *name-string*
+=============== =================== ===================================
+
 ExtendedDesktopSize Pseudo-encoding
 -----------------------------------
 
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to