diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/VNCServerST.cxx | 4 | ||||
-rw-r--r-- | common/rfb/VNCServerST.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx index 066feb90..e9544780 100644 --- a/common/rfb/VNCServerST.cxx +++ b/common/rfb/VNCServerST.cxx @@ -574,3 +574,7 @@ void VNCServerST::unsetVideoRectangle() } } +void VNCServerST::setDefaultVideoRect(const Rect& r) +{ + m_defaultVideoRect = r; +} diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h index 5277f550..1dd7afd1 100644 --- a/common/rfb/VNCServerST.h +++ b/common/rfb/VNCServerST.h @@ -205,6 +205,8 @@ namespace rfb { void setVideoRectangle(const Rect& r); void unsetVideoRectangle(); + void setDefaultVideoRect(const Rect& r); + protected: friend class VNCSConnectionST; @@ -256,6 +258,7 @@ namespace rfb { bool m_videoSelectionEnabled; Rect m_videoRect; + Rect m_defaultVideoRect; }; }; |