From 1d1afc4c6c31d608675dc186f1d15d119d73f3d2 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Mon, 18 Oct 2021 12:27:57 +0300 Subject: [PATCH] Default sendprimary to off --- 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) {