Explorar el Código

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 hace 1 año
padre
commit
2f40e3036a
No account linked to committer's email address
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5
    5
      java/com/tigervnc/vncviewer/Viewport.java

+ 5
- 5
java/com/tigervnc/vncviewer/Viewport.java Ver fichero

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

Cargando…
Cancelar
Guardar