aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorKrystof Pistek <krystof1119@gmail.com>2022-07-06 17:24:39 +0200
committerKrystof Pistek <krystof1119@gmail.com>2022-07-06 17:24:39 +0200
commit2f40e3036a5b46712b4f797e583e511ecb82bb48 (patch)
treed79fd5af21cfb3935677ef074fe91d895d63fca8 /java
parentd0dafdcc86275093611f302e93f6989f8e6e8de5 (diff)
downloadtigervnc-2f40e3036a5b46712b4f797e583e511ecb82bb48.tar.gz
tigervnc-2f40e3036a5b46712b4f797e583e511ecb82bb48.zip
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.
Diffstat (limited to 'java')
-rw-r--r--java/com/tigervnc/vncviewer/Viewport.java10
1 files 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,