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 /tests | |
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 'tests')
-rw-r--r-- | tests/perf/encperf.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/perf/encperf.cxx b/tests/perf/encperf.cxx index 55fa386e..388dcc95 100644 --- a/tests/perf/encperf.cxx +++ b/tests/perf/encperf.cxx @@ -41,6 +41,8 @@ #include <rdr/OutStream.h> #include <rdr/FileInStream.h> +#include <rfb/AccessRights.h> + #include <rfb/PixelFormat.h> #include <rfb/CConnection.h> @@ -303,6 +305,7 @@ void Manager::getStats(double& ratio, unsigned long long& encodedBytes, } SConn::SConn() +: SConnection(rfb::AccessDefault) { out = new DummyOutStream; setStreams(NULL, out); |