8000 Wayland: Support for the cursor-shape-v1 protocol · Issue #2668 · glfw/glfw · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Wayland: Support for the cursor-shape-v1 protocol #2668

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

Open
sungsphinx opened this issue Dec 31, 2024 · 0 comments · May be fixed by #2679
Open

Wayland: Support for the cursor-shape-v1 protocol #2668

sungsphinx opened this issue Dec 31, 2024 · 0 comments · May be fixed by #2679

Comments

@sungsphinx
Copy link
sungsphinx commented Dec 31, 2024

Currently GLFW gets the cursor theme and size from XCURSOR_THEME/SIZE, but KDE Plasma 6 (maybe other desktops/compositors too) no longer have these variables set by default so the cursor theme/size is wrong:
Screenshot of boing example from master
Instead the cursor should look like this:
image
(Note: ClassiCube is using SDL3 here, it does not support GLFW)

The cursor-shape-v1 protocol allows you to set the cursor shape without jumping through hoops like getting the cursor theme/size etc, though not all compositors support it yet, so you could keep the old "solution" around for now along with the new protocol.

@JakobDev JakobDev linked a pull request Jan 28, 2025 that will close this issue
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 a pull request may close this issue.

1 participant
0