summaryrefslogtreecommitdiffstats
path: root/common/rfb/CConnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/CConnection.h')
-rw-r--r--common/rfb/CConnection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/rfb/CConnection.h b/common/rfb/CConnection.h
index 56e6d143..a0fa54aa 100644
--- a/common/rfb/CConnection.h
+++ b/common/rfb/CConnection.h
@@ -127,6 +127,11 @@ namespace rfb {
// returning.
virtual void initDone() = 0;
+ // resizeFramebuffer() is called whenever the framebuffer
+ // dimensions or the screen layout changes. A subclass must make
+ // sure the pixel buffer has been updated once this call returns.
+ virtual void resizeFramebuffer();
+
// Other methods