Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix edge of dot cursor in Java vncviewer #1492

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

krystof1119
Copy link
Contributor

In the Java version of vncviewer, the cursor currently consists of transparent edges and a black square in the middle, which means it is quite likely to be lost in the background when the vncviewer is being used. This PR changes the transparent edges to be of a white non-transparent color instead, which is how the dot cursor looks in the native C++ version of vncviewer as well and makes the cursor more likely to be seen.

Please note that while I ran into this issue while working on PR #1491, this PR is separate from it and fixes a different issue (what I believe to be a bug in this case, whereas the other PR was due to a feature request). In the end, I have decided not to create an issue for this minor bug, but I can create one for bookkeeping reasons if that's better.

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.
@bphinz bphinz merged commit 798ee1a into TigerVNC:master Jul 7, 2022
@krystof1119 krystof1119 deleted the javaCursorFix branch July 7, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants