SHA256
1
0
forked from pool/tigervnc
tigervnc/tigervnc-newfbsize.patch

14 lines
419 B
Diff
Raw Normal View History

Index: b/vncviewer/CConn.cxx
===================================================================
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -388,6 +388,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);