From: Brian P. Hinz Date: Fri, 12 Mar 2021 00:15:34 +0000 (-0500) Subject: Fix for issue 1216 X-Git-Tag: v1.11.90~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2be74db342d432a6110770979cd778fbb34b93f7;p=tigervnc.git Fix for issue 1216 --- 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); }