Annotation of /trunk/tigervnc/patches/tigervnc-1.0.0-rh510185.patch
Parent Directory | Revision Log
Revision 1115 -
(hide annotations)
(download)
Sun Aug 22 18:37:54 2010 UTC (14 years, 1 month ago) by niro
File size: 1282 byte(s)
Sun Aug 22 18:37:54 2010 UTC (14 years, 1 month ago) by niro
File size: 1282 byte(s)
-added
1 | niro | 1115 | unchanged: |
2 | --- unix/vncviewer/vncviewer.man (revision 3902) | ||
3 | +++ unix/vncviewer/vncviewer.man (working copy) | ||
4 | @@ -156,7 +156,9 @@ | ||
5 | .B \-LowColorLevel, \-LowColourLevel \fIlevel\fP | ||
6 | Selects the reduced color level to use on slow links. \fIlevel\fP can range | ||
7 | from 0 to 2, 0 meaning 8 colors, 1 meaning 64 colors (the default), 2 meaning | ||
8 | -256 colors. | ||
9 | +256 colors. Note that decision if reduced color level is used is made by | ||
10 | +vncviewer. If you would like to force vncviewer to use reduced color level | ||
11 | +use \fB-AutoSelect=0\fP parameter. | ||
12 | |||
13 | .TP | ||
14 | .B \-PreferredEncoding \fIencoding\fP | ||
15 | only in patch2: | ||
16 | unchanged: | ||
17 | --- unix/vncviewer/vncviewer.cxx (revision 3902) | ||
18 | +++ unix/vncviewer/vncviewer.cxx (working copy) | ||
19 | @@ -337,6 +337,13 @@ | ||
20 | && !::fullColour.hasBeenSet() | ||
21 | && !::fullColourAlias.hasBeenSet()); | ||
22 | } | ||
23 | + if (!::fullColour.hasBeenSet() && !::fullColourAlias.hasBeenSet()) { | ||
24 | + // Default to FullColor=0 if AutoSelect=0 && LowColorLevel is set | ||
25 | + if (!::autoSelect && (::lowColourLevel.hasBeenSet() || | ||
26 | + ::lowColourLevelAlias.hasBeenSet())) { | ||
27 | + ::fullColour.setParam(false); | ||
28 | + } | ||
29 | + } | ||
30 | if (!::customCompressLevel.hasBeenSet()) { | ||
31 | // Default to CustomCompressLevel=1 if CompressLevel is used. | ||
32 | ::customCompressLevel.setParam(::compressLevel.hasBeenSet()); |