From 2f40e3036a5b46712b4f797e583e511ecb82bb48 Mon Sep 17 00:00:00 2001 From: Krystof Pistek Date: Wed, 6 Jul 2022 17:24:39 +0200 Subject: [PATCH] Fix edge of dot cursor in Java vncviewer This commit changes the color of the edges of the dot cursor in the Java version of vncviewer from fully transparent to white, bringing it in line with the C++ native version. --- java/com/tigervnc/vncviewer/Viewport.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/java/com/tigervnc/vncviewer/Viewport.java b/java/com/tigervnc/vncviewer/Viewport.java index 43316034..2e5e42d6 100644 --- a/java/com/tigervnc/vncviewer/Viewport.java +++ b/java/com/tigervnc/vncviewer/Viewport.java @@ -149,11 +149,11 @@ class Viewport extends JPanel implements ActionListener { } static final int[] dotcursor_xpm = { - 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000, - 0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000, - 0x00000000, 0xff000000, 0xff000000, 0xff000000, 0x00000000, - 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, + 0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff, + 0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff, + 0xffffffff, 0xff000000, 0xff000000, 0xff000000, 0xffffffff, + 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, }; public void setCursor(int width, int height, Point hotspot, -- 2.39.5