zed
zed copied to clipboard
linux: wayland: implement cursor style handling
We require contributors to sign our Contributor License Agreement, and we don't have @joelselvaraj on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.
We require contributors to sign our Contributor License Agreement, and we don't have @joelselvaraj on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Still needs animated cursor support, but could be implemented in a later PR.
Still needs animated cursor support, but could be implemented in a later PR.
Yes.
Just for the record, wayland has the cursor-shape-v1 protocol. It is currently implemented in kwin and wlroots (including sway). Mutter has an open issue for it: https://gitlab.gnome.org/GNOME/mutter/-/issues/3276
Once this is implemented in the major compositors, this code can be simplified by a lot.
Just for the record, wayland has the cursor-shape-v1 protocol. It is currently implemented in kwin and wlroots (including sway). Mutter has an open issue for it: https://gitlab.gnome.org/GNOME/mutter/-/issues/3276
Once this is implemented in the major compositors, this code can be simplified by a lot.
Yes. I had a look at it earlier. Hope it gets implemented in other compositors too. Handling cursors in wayland seems unnecessarily complicated right now.
This will need adjusting if the #8365 is merged first (or vice versa)