summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-21 21:16:14 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-21 21:16:14 +0000
commit34bb06193e20940e269bff1740939d6ed286856c (patch)
tree4b3b0fe14c2fa79cef459dcb1ad5626ec9d7189f /common/rfb/VNCSConnectionST.cxx
parentd85ea3e1992b4415eab63c343a892b0f7dd50db4 (diff)
downloadtigervnc-34bb06193e20940e269bff1740939d6ed286856c.tar.gz
tigervnc-34bb06193e20940e269bff1740939d6ed286856c.zip
Properly parse the SetDesktopSize message.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3708 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCSConnectionST.cxx')
-rw-r--r--common/rfb/VNCSConnectionST.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 10050e38..29c62746 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -509,7 +509,8 @@ void VNCSConnectionST::framebufferUpdateRequest(const Rect& r,bool incremental)
}
}
-void VNCSConnectionST::setDesktopSize(int fb_width, int fb_height)
+void VNCSConnectionST::setDesktopSize(int fb_width, int fb_height,
+ const ScreenSet& layout)
{
vlog.info("Rejecting client request to change desktop size");
writer()->writeExtendedDesktopSize(resultProhibited);