Browse Source

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.
tags/v1.12.90
Krystof Pistek 1 year ago
parent
commit
2f40e3036a
No account linked to committer's email address
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      java/com/tigervnc/vncviewer/Viewport.java

+ 5
- 5
java/com/tigervnc/vncviewer/Viewport.java View File

@@ -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,

Loading…
Cancel
Save