File tigervnc-newfbsize.patch of Package tigervnc.8914

Index: tigervnc-1.6.0/vncviewer/CConn.cxx
===================================================================
--- tigervnc-1.6.0.orig/vncviewer/CConn.cxx
+++ tigervnc-1.6.0/vncviewer/CConn.cxx
@@ -438,6 +438,8 @@ void CConn::dataRect(const Rect& r, int
 
   if (encoding != encodingCopyRect)
     lastServerEncoding = encoding;
+  if (encoding == pseudoEncodingDesktopSize)
+    setDesktopSize( r.width(), r.height() );
 
   CConnection::dataRect(r, encoding);