diff options
-rw-r--r-- | unix/vncviewer/vncviewer.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx index 4a47788e..5a4ee37d 100644 --- a/unix/vncviewer/vncviewer.cxx +++ b/unix/vncviewer/vncviewer.cxx @@ -337,6 +337,13 @@ int main(int argc, char** argv) && !::fullColour.hasBeenSet() && !::fullColourAlias.hasBeenSet()); } + if (!::fullColour.hasBeenSet() && !::fullColourAlias.hasBeenSet()) { + // Default to FullColor=0 if AutoSelect=0 && LowColorLevel is set + if (!::autoSelect && (::lowColourLevel.hasBeenSet() || + ::lowColourLevelAlias.hasBeenSet())) { + ::fullColour.setParam(false); + } + } if (!::customCompressLevel.hasBeenSet()) { // Default to CustomCompressLevel=1 if CompressLevel is used. ::customCompressLevel.setParam(::compressLevel.hasBeenSet()); |