Initialize SMsgWriterV3.needExtendedDesktopSize variable to fix rare client
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
diff --git a/common/rfb/SMsgWriterV3.cxx b/common/rfb/SMsgWriterV3.cxx
index 6a8316f..a11579b 100644
--- a/common/rfb/SMsgWriterV3.cxx
+++ b/common/rfb/SMsgWriterV3.cxx
@@ -28,8 +28,8 @@
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)
{
}