Handling VideoRectangleSelection protocol message (TightVNC extension).


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2585 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h
index 213f6b1..5277f55 100644
--- a/common/rfb/VNCServerST.h
+++ b/common/rfb/VNCServerST.h
@@ -202,6 +202,9 @@
     void enableVideoSelection(bool enable) { m_videoSelectionEnabled = enable; }
     bool isVideoSelectionEnabled() { return m_videoSelectionEnabled; }
 
+    void setVideoRectangle(const Rect& r);
+    void unsetVideoRectangle();
+
   protected:
 
     friend class VNCSConnectionST;
@@ -252,6 +255,7 @@
     bool disableclients;
 
     bool m_videoSelectionEnabled;
+    Rect m_videoRect;
   };
 
 };