From: Adam Tkac Date: Thu, 2 Apr 2009 15:44:23 +0000 (+0000) Subject: Initialize SMsgWriterV3.needExtendedDesktopSize variable to fix rare client X-Git-Tag: v0.0.90~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c6eff108ccebb6cff26d98c98c3536953192181;p=tigervnc.git 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 6a8316f1..a11579b6 100644 --- a/common/rfb/SMsgWriterV3.cxx +++ b/common/rfb/SMsgWriterV3.cxx @@ -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) { }