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>



I think we decided on UTF-8 *for this text* in that other
thread. So, I'm shortcutting the discussion on the
bigger problem with this updated patch...

Cheers,
Peter
commit bee4f4483537676fe9679f64eb25af4766dd0c2c
Author: Peter Rosin <p...@lysator.liu.se>
Date:   Thu May 28 23:31:17 2009 +0200

    Describe the DesktopName pseudo-encoding
    
    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>

diff --git a/rfbproto.rst b/rfbproto.rst
index d9e300f..7852746 100644
--- a/rfbproto.rst
+++ b/rfbproto.rst
@@ -1671,6 +1671,7 @@ Number       Name
 -239         `Cursor Pseudo-encoding`_
 -247 to -256 `Compression Level Pseudo-encoding`_
 -305         `gii Pseudo-encoding`_
+-307         `DesktopName Pseudo-encoding`_
 -308         `ExtendedDesktopSize Pseudo-encoding`_
 -309         `xvp Pseudo-encoding`_
 ============ ==========================================================
@@ -1689,7 +1690,6 @@ Number                      Name
 -257 to -272                Anthony Liguori
 -273 to -304                VMWare
 -306                        popa
--307                        Peter Astrand DesktopName
 0x574d5600 to 0x574d56ff    VMWare
 =========================== ===========================================
 
@@ -2510,6 +2510,25 @@ 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*
+=============== =================== ===================================
+
+The text encoding used for *name-string* is UTF-8.
+
 ExtendedDesktopSize Pseudo-encoding
 -----------------------------------
 
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to