Send lock LED state from server to client
diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx
index 388b21f..8e48c67 100644
--- a/common/rfb/SMsgHandler.cxx
+++ b/common/rfb/SMsgHandler.cxx
@@ -41,10 +41,11 @@
void SMsgHandler::setEncodings(int nEncodings, const rdr::S32* encodings)
{
- bool firstFence, firstContinuousUpdates;
+ bool firstFence, firstContinuousUpdates, firstLEDState;
firstFence = !cp.supportsFence;
firstContinuousUpdates = !cp.supportsContinuousUpdates;
+ firstLEDState = !cp.supportsLEDState;
cp.setEncodings(nEncodings, encodings);
@@ -54,6 +55,8 @@
supportsFence();
if (cp.supportsContinuousUpdates && firstContinuousUpdates)
supportsContinuousUpdates();
+ if (cp.supportsLEDState && firstLEDState)
+ supportsLEDState();
}
void SMsgHandler::supportsLocalCursor()
@@ -68,6 +71,10 @@
{
}
+void SMsgHandler::supportsLEDState()
+{
+}
+
void SMsgHandler::setDesktopSize(int fb_width, int fb_height,
const ScreenSet& layout)
{