From 17aee6306628a4b949afb4aa9cc950507daaf2f6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 11 Jun 2021 16:54:55 +0200 Subject: [PATCH] Don't list clipboard parameters for x0vncserver Better to just hide these parameters rather than stating that they are unused in the man page. --- unix/x0vncserver/x0vncserver.cxx | 5 +++++ unix/x0vncserver/x0vncserver.man | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index 0aa2a92b..0bf10a90 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -209,6 +209,11 @@ int main(int argc, char** argv) Configuration::enableServerParams(); + // FIXME: We don't support clipboard yet + Configuration::removeParam("AcceptCutText"); + Configuration::removeParam("SendCutText"); + Configuration::removeParam("MaxCutText"); + for (int i = 1; i < argc; i++) { if (Configuration::setParam(argv[i])) continue; diff --git a/unix/x0vncserver/x0vncserver.man b/unix/x0vncserver/x0vncserver.man index e1a4646f..55f30454 100644 --- a/unix/x0vncserver/x0vncserver.man +++ b/unix/x0vncserver/x0vncserver.man @@ -297,14 +297,6 @@ Terminate when a client has been connected for \fIN\fP seconds. Default is .TP .B \-MaxIdleTime \fIseconds\fP Terminate after \fIN\fP seconds of user inactivity. Default is 0. -. -.TP -.B \-AcceptCutText -.TQ -.B \-SendCutText -.TQ -.B \-MaxCutText -Currently unused. .SH SEE ALSO .BR Xvnc (1), -- 2.39.5