tigervnc/tigervnc-newfbsize.patch

14 lines
522 B
Diff
Raw Normal View History

Index: tigervnc-1.5.0/vncviewer/CConn.cxx
===================================================================
--- tigervnc-1.5.0.orig/vncviewer/CConn.cxx
+++ tigervnc-1.5.0/vncviewer/CConn.cxx
@@ -427,6 +427,8 @@ void CConn::dataRect(const Rect& r, int
if (encoding != encodingCopyRect)
lastServerEncoding = encoding;
+ if (encoding == pseudoEncodingDesktopSize)
+ setDesktopSize( r.width(), r.height() );
if (!Decoder::supported(encoding)) {
// TRANSLATORS: Refers to a VNC protocol encoding type