]> source.dussan.org Git - tigervnc.git/commitdiff
Initialize SMsgWriterV3.needExtendedDesktopSize variable to fix rare client
authorAdam Tkac <atkac@redhat.com>
Thu, 2 Apr 2009 15:44:23 +0000 (15:44 +0000)
committerAdam Tkac <atkac@redhat.com>
Thu, 2 Apr 2009 15:44:23 +0000 (15:44 +0000)
disconnections (reason "Client does not support extended desktop resize").

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3741 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/SMsgWriterV3.cxx

index 6a8316f17467deb202c3a9ff5d088f8b7b5a019e..a11579b676c2f93e8b974712127639b8eb0b1001 100644 (file)
@@ -28,8 +28,8 @@ using namespace rfb;
 
 SMsgWriterV3::SMsgWriterV3(ConnParams* cp, rdr::OutStream* os)
   : SMsgWriter(cp, os), updateOS(0), realOS(os), nRectsInUpdate(0),
-    nRectsInHeader(0), wsccb(0),
-    needSetDesktopSize(false), needSetDesktopName(false)
+    nRectsInHeader(0), wsccb(0), needSetDesktopSize(false),
+    needExtendedDesktopSize(false), needSetDesktopName(false)
 {
 }