Bläddra i källkod

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 år sedan
förälder
incheckning
2f40e3036a
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5
    5
      java/com/tigervnc/vncviewer/Viewport.java

+ 5
- 5
java/com/tigervnc/vncviewer/Viewport.java Visa fil

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

Laddar…
Avbryt
Spara