diff options
author | Pierre Ossman <ossman@cendio.se> | 2019-04-01 14:25:32 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2019-04-01 14:25:32 +0200 |
commit | 179ed8d7c2c1af4913f6ad2c327357d85bfe46b9 (patch) | |
tree | 67f9cf9b4042c7581f4ee31f8a6f6e1d1ebe90b0 | |
parent | 5cd3ff660815537c66ffe898167cad026338abdc (diff) | |
download | tigervnc-179ed8d7c2c1af4913f6ad2c327357d85bfe46b9.tar.gz tigervnc-179ed8d7c2c1af4913f6ad2c327357d85bfe46b9.zip |
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.
-rw-r--r-- | vncviewer/parameters.cxx | 5 |
1 files 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 |