xwayland has no default cursor
Open
Nobody has claimed this yet.
bug
help wanted
needs information
- Dominant language
- C++
- Stars
- 3.1k
- Forks
- 237
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 1
Description
Describe the bug
Recently I observe that the default mouse cursor in xwayland applications failed load.
To Reproduce
Steps to reproduce the behavior:
- Run
xev - Move mouse cursor on its window
- The mouse cursor is invisible. The
wlr_xcursor_manager_get_xcursorfails for some reason xsetroot -cursor_name left_ptrfixes it
Expected behavior
The default cursor should be set.
Screenshots or stacktrace
Wayfire version
git
cursor theme is Vanilla-DMZ and size 16, output scale=2.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with xev using the Vanilla-DMZ cursor theme, size 16, and output scale 2. Start at the reported wlr_xcursor_manager_get_xcursor failure and compare behavior with xsetroot -cursor_name left_ptr. Done means the default cursor is visible in the Xwayland window without that workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100