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
diff --git a/common/rfb/SMsgReader.cxx b/common/rfb/SMsgReader.cxx
index 0e57ea7..4213e72 100644
--- a/common/rfb/SMsgReader.cxx
+++ b/common/rfb/SMsgReader.cxx
@@ -110,3 +110,18 @@
}
}
+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.
+}
+