aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-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);
}