summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-03-20 16:05:04 +0000
committerPierre Ossman <ossman@cendio.se>2009-03-20 16:05:04 +0000
commitcbd1b2c85f0bb39aea4ea226cced78889efe8f22 (patch)
treeec27b965e1f628638b597726cea94bbdbfe47ae0 /unix
parentd9a59ba3060fc6f4f2b347bba41fa1881a111618 (diff)
downloadtigervnc-cbd1b2c85f0bb39aea4ea226cced78889efe8f22.tar.gz
tigervnc-cbd1b2c85f0bb39aea4ea226cced78889efe8f22.zip
Properly parse the ExtendedDesktopSize rects in the client.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3702 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r--unix/vncviewer/CConn.cxx5
-rw-r--r--unix/vncviewer/CConn.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx
index 79195a8b..47ccbb27 100644
--- a/unix/vncviewer/CConn.cxx
+++ b/unix/vncviewer/CConn.cxx
@@ -273,8 +273,9 @@ void CConn::setDesktopSize(int w, int h) {
}
// setExtendedDesktopSize() is a more advanced version of setDesktopSize()
-void CConn::setExtendedDesktopSize(int reason, int result, int w, int h) {
- CConnection::setExtendedDesktopSize(reason, result, w,h);
+void CConn::setExtendedDesktopSize(int reason, int result, int w, int h,
+ const rfb::ScreenSet& layout) {
+ CConnection::setExtendedDesktopSize(reason, result, w, h, layout);
if ((reason == reasonClient) && (result != resultSuccess))
return;
diff --git a/unix/vncviewer/CConn.h b/unix/vncviewer/CConn.h
index 27ab8e31..10a12e49 100644
--- a/unix/vncviewer/CConn.h
+++ b/unix/vncviewer/CConn.h
@@ -75,7 +75,8 @@ public:
rfb::CSecurity* getCSecurity(int secType);
void serverInit();
void setDesktopSize(int w, int h);
- void setExtendedDesktopSize(int reason, int result, int w, int h);
+ void setExtendedDesktopSize(int reason, int result, int w, int h,
+ const rfb::ScreenSet& layout);
void setName(const char* name);
void setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs);
void bell();