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 e5ff4e6..1458e4b 100644
--- a/vncviewer/parameters.cxx
+++ b/vncviewer/parameters.cxx
@@ -171,7 +171,6 @@
&fullScreen,
&fullScreenAllMonitors,
&desktopSize,
- &geometry,
&remoteResize,
&viewOnly,
&shared,
@@ -179,10 +178,10 @@
&sendClipboard,
#if !defined(WIN32) && !defined(__APPLE__)
&sendPrimary,
+ &setPrimary,
#endif
&menuKey,
- &fullscreenSystemKeys,
- &alertOnFatalError
+ &fullscreenSystemKeys
};
// Encoding Table