Add client support for LED state sync
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 6f0710d..652feb4 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -47,6 +47,9 @@
void setCursor(int width, int height, const rfb::Point& hotspot,
const rdr::U8* data);
+ // Change client LED state
+ void setLEDState(unsigned int state);
+
void draw(Surface* dst);
// Fl_Widget callback methods
@@ -59,6 +62,8 @@
private:
+ unsigned int getModifierMask(unsigned int keysym);
+
static void handleClipboardChange(int source, void *data);
void handlePointerEvent(const rfb::Point& pos, int buttonMask);