WayfireWM / WayfireWM/wayfire

xwayland has no default cursor

Open
#2,114 7 comments 0 reactions 0 assignees View on GitHub

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:

  1. Run xev
  2. Move mouse cursor on its window
  3. The mouse cursor is invisible. The wlr_xcursor_manager_get_xcursor fails for some reason
  4. xsetroot -cursor_name left_ptr fixes 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.