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/VNCSConnectionST.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/VNCSConnectionST.h')
-rw-r--r-- | common/rfb/VNCSConnectionST.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/VNCSConnectionST.h b/common/rfb/VNCSConnectionST.h index edc0391e..2f117a75 100644 --- a/common/rfb/VNCSConnectionST.h +++ b/common/rfb/VNCSConnectionST.h @@ -40,7 +40,8 @@ namespace rfb { class VNCSConnectionST : private SConnection, public Timer::Callback { public: - VNCSConnectionST(VNCServerST* server_, network::Socket* s, bool reverse); + VNCSConnectionST(VNCServerST* server_, network::Socket* s, bool reverse, + AccessRights ar); virtual ~VNCSConnectionST(); // SConnection methods |