aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.h
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 /common/rfb/CMsgHandler.h
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 'common/rfb/CMsgHandler.h')
-rw-r--r--common/rfb/CMsgHandler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/rfb/CMsgHandler.h b/common/rfb/CMsgHandler.h
index 49d407ad..36fc48ef 100644
--- a/common/rfb/CMsgHandler.h
+++ b/common/rfb/CMsgHandler.h
@@ -27,6 +27,7 @@
#include <rfb/Pixel.h>
#include <rfb/ConnParams.h>
#include <rfb/Rect.h>
+#include <rfb/ScreenSet.h>
namespace rdr { class InStream; }
@@ -44,7 +45,9 @@ namespace rfb {
// methods to set the members of cp appropriately.
virtual void setDesktopSize(int w, int h);
- virtual void setExtendedDesktopSize(int reason, int result, int w, int h);
+ virtual void setExtendedDesktopSize(int reason, int result,
+ int w, int h,
+ const ScreenSet& layout);
virtual void setCursor(int width, int height, const Point& hotspot,
void* data, void* mask);
virtual void setPixelFormat(const PixelFormat& pf);