]> source.dussan.org Git - tigervnc.git/commitdiff
Allow control of PRIMARY behaviour by default
authorPierre Ossman <ossman@cendio.se>
Fri, 8 Jul 2016 12:23:21 +0000 (14:23 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 8 Jul 2016 12:23:21 +0000 (14:23 +0200)
It was previously controlled by vncconfig which had no restrictions,
so at least include the relevant settings in the default list of
overrides.

unix/xserver/hw/vnc/Xvnc.man
unix/xserver/hw/vnc/vncExtInit.cc

index f0f90f8fb6b2cd661f5be88025655d5f0d6f7ab4..04e8f94b5ea77e5a6fc6baa0962310840838d7e3 100644 (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
index 0ad34a27fc3cab3c102f86eb5a01847d86dc6117..36d3742b542676a500ce551ec58e20db04a605bd 100644 (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",