From dd276e5e879bf3aff2c4177388f91eb15dd905ae Mon Sep 17 00:00:00 2001 From: mmcclaskey Date: Mon, 25 Oct 2021 14:40:54 -0400 Subject: [PATCH] Default sendprimary to off (#73) Co-authored-by: Lauri Kasanen --- unix/xserver/hw/vnc/Xvnc.man | 2 +- unix/xserver/hw/vnc/vncExtInit.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/xserver/hw/vnc/Xvnc.man b/unix/xserver/hw/vnc/Xvnc.man index a031b3e..7cafa02 100644 --- a/unix/xserver/hw/vnc/Xvnc.man +++ b/unix/xserver/hw/vnc/Xvnc.man @@ -137,7 +137,7 @@ Send clipboard changes to clients. Default is on. .TP .B \-SendPrimary Send the primary selection and cut buffer to the server as well as the -clipboard selection. Default is on. +clipboard selection. Default is off. . .TP .B \-AcceptPointerEvents diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc index 66252b9..503b2b3 100644 --- a/unix/xserver/hw/vnc/vncExtInit.cc +++ b/unix/xserver/hw/vnc/vncExtInit.cc @@ -107,7 +107,7 @@ rfb::BoolParameter setPrimary("SetPrimary", "Set the PRIMARY as well " "as the CLIPBOARD selection", true); rfb::BoolParameter sendPrimary("SendPrimary", "Send the PRIMARY as well as the CLIPBOARD selection", - true); + false); static PixelFormat vncGetPixelFormat(int scrIdx) {