]> source.dussan.org Git - tigervnc.git/commitdiff
Only save parameters that are visible from the UI
authorPierre Ossman <ossman@cendio.se>
Mon, 1 Apr 2019 12:25:32 +0000 (14:25 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 1 Apr 2019 12:25:32 +0000 (14:25 +0200)
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

index e5ff4e63bcfe7c5d1196060c0189f71367ea0928..1458e4b420df990570a8593dfad0815a576ee948 100644 (file)
@@ -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