From 2be74db342d432a6110770979cd778fbb34b93f7 Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Thu, 11 Mar 2021 19:15:34 -0500 Subject: Fix for issue 1216 --- java/com/tigervnc/rfb/CConnection.java | 7 ++++--- 1 file 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 encodings = new ArrayList(); 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); } -- cgit v1.2.3