linux: wayland: implement cursor style handling (#8632)

Release Notes:

- Implemented cursor style changing in wayland


[zed_cursor_wayland.webm](https://github.com/zed-industries/zed/assets/12579216/cbc03f85-41c1-4687-88b5-2aa5612d7129)

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Joel Selvaraj 2024-03-03 13:28:20 -06:00 committed by GitHub
parent 37ffa86043
commit 6a6dbe3aa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 174 additions and 20 deletions

View file

@ -342,8 +342,9 @@ impl Platform for LinuxPlatform {
))
}
// todo(linux)
fn set_cursor_style(&self, style: CursorStyle) {}
fn set_cursor_style(&self, style: CursorStyle) {
self.client.set_cursor_style(style)
}
// todo(linux)
fn should_auto_hide_scrollbars(&self) -> bool {