From 179ed8d7c2c1af4913f6ad2c327357d85bfe46b9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 1 Apr 2019 14:25:32 +0200 Subject: Only save parameters that are visible from the UI The parameter files are used to make sure changes in the UI are persistent. Storing anything else results in behaviours that the user has no easy way of changing. --- vncviewer/parameters.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index e5ff4e63..1458e4b4 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -171,7 +171,6 @@ static VoidParameter* parameterArray[] = { &fullScreen, &fullScreenAllMonitors, &desktopSize, - &geometry, &remoteResize, &viewOnly, &shared, @@ -179,10 +178,10 @@ static VoidParameter* parameterArray[] = { &sendClipboard, #if !defined(WIN32) && !defined(__APPLE__) &sendPrimary, + &setPrimary, #endif &menuKey, - &fullscreenSystemKeys, - &alertOnFatalError + &fullscreenSystemKeys }; // Encoding Table -- cgit v1.2.3