diff options
Diffstat (limited to 'common/rfb/SMsgHandler.cxx')
-rw-r--r-- | common/rfb/SMsgHandler.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx index ff15e196..d4046b1b 100644 --- a/common/rfb/SMsgHandler.cxx +++ b/common/rfb/SMsgHandler.cxx @@ -41,9 +41,10 @@ void SMsgHandler::setPixelFormat(const PixelFormat& pf) void SMsgHandler::setEncodings(int nEncodings, rdr::S32* encodings) { - bool firstFence; + bool firstFence, firstContinuousUpdates; firstFence = !cp.supportsFence; + firstContinuousUpdates = !cp.supportsContinuousUpdates; cp.setEncodings(nEncodings, encodings); @@ -51,6 +52,8 @@ void SMsgHandler::setEncodings(int nEncodings, rdr::S32* encodings) if (cp.supportsFence && firstFence) supportsFence(); + if (cp.supportsContinuousUpdates && firstContinuousUpdates) + supportsContinuousUpdates(); } void SMsgHandler::supportsLocalCursor() @@ -61,6 +64,10 @@ void SMsgHandler::supportsFence() { } +void SMsgHandler::supportsContinuousUpdates() +{ +} + void SMsgHandler::setDesktopSize(int fb_width, int fb_height, const ScreenSet& layout) { |