From cbd1b2c85f0bb39aea4ea226cced78889efe8f22 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 20 Mar 2009 16:05:04 +0000 Subject: 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 --- unix/vncviewer/CConn.cxx | 5 +++-- unix/vncviewer/CConn.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'unix') 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(); -- cgit v1.2.3