From: Pierre Ossman Date: Mon, 1 Apr 2019 12:25:32 +0000 (+0200) Subject: Only save parameters that are visible from the UI X-Git-Tag: v1.9.90~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=179ed8d7c2c1af4913f6ad2c327357d85bfe46b9;p=tigervnc.git 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. --- 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