summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCServer.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2016-12-11 12:41:26 +0100
committerPierre Ossman <ossman@cendio.se>2017-08-24 12:33:08 +0200
commitbb305ca3dbbc316c9742d36b0919226e15120add (patch)
tree4e02a61174797166a06c0987ef7919d2ed7f775c /common/rfb/VNCServer.h
parent1668cfaef2fe7effb38f311d232d4f57a8703d11 (diff)
downloadtigervnc-bb305ca3dbbc316c9742d36b0919226e15120add.tar.gz
tigervnc-bb305ca3dbbc316c9742d36b0919226e15120add.zip
Add server side lock key sync heuristic
Based on QEMU's behaviour.
Diffstat (limited to 'common/rfb/VNCServer.h')
-rw-r--r--common/rfb/VNCServer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/VNCServer.h b/common/rfb/VNCServer.h
index 982a4ff5..c5335ad2 100644
--- a/common/rfb/VNCServer.h
+++ b/common/rfb/VNCServer.h
@@ -74,6 +74,10 @@ namespace rfb {
// setName() tells the server what desktop title to supply to clients
virtual void setName(const char* name) = 0;
+
+ // setLEDState() tells the server what the current lock keys LED
+ // state is
+ virtual void setLEDState(unsigned int state) = 0;
};
}
#endif