Browse Source

Allow control of PRIMARY behaviour by default

It was previously controlled by vncconfig which had no restrictions,
so at least include the relevant settings in the default list of
overrides.
tags/v1.7.90
Pierre Ossman 8 years ago
parent
commit
fee22107db
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      unix/xserver/hw/vnc/Xvnc.man
  2. 1
    1
      unix/xserver/hw/vnc/vncExtInit.cc

+ 1
- 1
unix/xserver/hw/vnc/Xvnc.man View File

@@ -317,7 +317,7 @@ programs allowed to override the parameters.
When \fBNoClipboard\fP parameter is set, allowing override of \fBSendCutText\fP
and \fBAcceptCutText\fP has no effect.

Default is \fBdesktop,AcceptPointerEvents,SendCutText,AcceptCutText\fP.
Default is \fBdesktop,AcceptPointerEvents,SendCutText,AcceptCutText,SendPrimary,SetPrimary\fP.

.SH USAGE WITH INETD
By configuring the \fBinetd\fP(1) service appropriately, Xvnc can be launched

+ 1
- 1
unix/xserver/hw/vnc/vncExtInit.cc View File

@@ -84,7 +84,7 @@ rfb::BoolParameter avoidShiftNumLock("AvoidShiftNumLock",
true);
rfb::StringParameter allowOverride("AllowOverride",
"Comma separated list of parameters that can be modified using VNC extension.",
"desktop,AcceptPointerEvents,SendCutText,AcceptCutText");
"desktop,AcceptPointerEvents,SendCutText,AcceptCutText,SendPrimary,SetPrimary");
rfb::BoolParameter setPrimary("SetPrimary", "Set the PRIMARY as well "
"as the CLIPBOARD selection", true);
rfb::BoolParameter sendPrimary("SendPrimary",

Loading…
Cancel
Save