summaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgReader.cxx
diff options
context:
space:
mode:
authorConstantin Kaplinsky <const@tightvnc.com>2008-04-24 08:44:24 +0000
committerConstantin Kaplinsky <const@tightvnc.com>2008-04-24 08:44:24 +0000
commit8232831bb4c23d7a544cf97e1d23b724cb83f30a (patch)
tree60ecbe471c1705cabc1e9ca7f857291ecddf8457 /common/rfb/SMsgReader.cxx
parenta9ad96636f705b0da89ae170df00349523550c97 (diff)
downloadtigervnc-8232831bb4c23d7a544cf97e1d23b724cb83f30a.tar.gz
tigervnc-8232831bb4c23d7a544cf97e1d23b724cb83f30a.zip
Support for VideoRectangleSelection client message in the server code. The message is read but ignored (only a message will be written to stderr).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2559 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/SMsgReader.cxx')
-rw-r--r--common/rfb/SMsgReader.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx
index 0e57ea76..4213e728 100644
--- a/common/rfb/SMsgReader.cxx
+++ b/common/rfb/SMsgReader.cxx
@@ -110,3 +110,18 @@ void SMsgReader::readEnableContinuousUpdates()
}
}
+void SMsgReader::readVideoRectangleSelection()
+{
+ (void)is->readU8();
+ int x = is->readU16();
+ int y = is->readU16();
+ int w = is->readU16();
+ int h = is->readU16();
+ bool enable = w > 0 && h > 0;
+
+ // FIXME: Use proper logger.
+ fprintf(stderr, "Ignoring VideoRectangleSelection message\n");
+
+ // FIXME: Implement VideoRectangleSelection message handling.
+}
+