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

wayland: add cursor-shape-v1 support #11701

Merged
merged 1 commit into from
Jul 9, 2023

Conversation

Dudemanguy
Copy link
Member

This protocol no longer requires us to draw a separate cursor surface and all of that horrible stuff. We can just ask the compositor for the default cursor instead since that's literally all mpv cares about.

Should theoretically fix #11671.

Tested with https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4106 + swaywm/sway#7571. Also requires wayland-protocols from master right now hence draft.

@Dudemanguy Dudemanguy force-pushed the wayland-cursor branch 3 times, most recently from c037041 to 46a8009 Compare May 20, 2023 01:42
@Nefsen402
Copy link

LGTM

This protocol no longer requires us to draw a separate cursor surface
and all of that horrible stuff. We can just ask the compositor for the
default cursor instead since that's literally all mpv cares about.
@Dudemanguy
Copy link
Member Author

Works fine and since wayland protocols 1.32 is out now, there's no reason to hold this back.

@Dudemanguy Dudemanguy merged commit 589da09 into mpv-player:master Jul 9, 2023
@Dudemanguy Dudemanguy deleted the wayland-cursor branch July 9, 2023 18: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.

[wayland] cursor size not respected
2 participants