aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2021-03-11 19:15:34 -0500
committerBrian P. Hinz <bphinz@users.sf.net>2021-03-11 19:17:30 -0500
commit2be74db342d432a6110770979cd778fbb34b93f7 (patch)
tree48779ce55fa9ec0b93df5c518cf1927b2571b2a0
parent41bf43b0b968e2f2d84b31f39022412c2af6a09c (diff)
downloadtigervnc-2be74db342d432a6110770979cd778fbb34b93f7.tar.gz
tigervnc-2be74db342d432a6110770979cd778fbb34b93f7.zip
Fix for issue 1216
-rw-r--r--java/com/tigervnc/rfb/CConnection.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/java/com/tigervnc/rfb/CConnection.java b/java/com/tigervnc/rfb/CConnection.java
index 3b60de57..e62f8517 100644
--- a/java/com/tigervnc/rfb/CConnection.java
+++ b/java/com/tigervnc/rfb/CConnection.java
@@ -664,10 +664,11 @@ abstract public class CConnection extends CMsgHandler {
List<Integer> encodings = new ArrayList<Integer>();
if (server.supportsLocalCursor) {
- // JRE on Windows does not support alpha cursor
- if (!osName.contains("windows"))
+ // JRE on Windows does not support cursors with alpha
+ if (!osName.contains("windows")) {
encodings.add(Encodings.pseudoEncodingCursorWithAlpha);
- encodings.add(Encodings.pseudoEncodingVMwareCursor);
+ encodings.add(Encodings.pseudoEncodingVMwareCursor);
+ }
encodings.add(Encodings.pseudoEncodingCursor);
encodings.add(Encodings.pseudoEncodingXCursor);
}