diff options
author | Carlos Santos <casantos@redhat.com> | 2023-11-29 18:52:52 -0300 |
---|---|---|
committer | Carlos Santos <casantos@redhat.com> | 2024-04-26 11:28:07 -0300 |
commit | 7597f8d42b236c99d175a02cea7e76593e16b886 (patch) | |
tree | d421a171c74db5884f0d4b1b9a4dcade52866a51 /common/rfb/VNCServerST.h | |
parent | d77e2b01f972ef12b722e3ef9d22efdc241689c3 (diff) | |
download | tigervnc-7597f8d42b236c99d175a02cea7e76593e16b886.tar.gz tigervnc-7597f8d42b236c99d175a02cea7e76593e16b886.zip |
vncconfig: add option to force view-only remote client connections
Specifies that the server must ignore all keyboard or mouse events sent
by the client.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2180903
Signed-off-by: Carlos Santos <casantos@redhat.com>
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r-- | common/rfb/VNCServerST.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h index 4a8efa46..d303831e 100644 --- a/common/rfb/VNCServerST.h +++ b/common/rfb/VNCServerST.h @@ -56,7 +56,8 @@ namespace rfb { // addSocket // Causes the server to allocate an RFB-protocol management // structure for the socket & initialise it. - virtual void addSocket(network::Socket* sock, bool outgoing=false); + virtual void addSocket(network::Socket* sock, bool outgoing=false, + AccessRights ar=AccessDefault); // removeSocket // Clean up any resources associated with the Socket |