Fix cursors on some GNOME installations (#12914)

This PR adds support for `org.gnome.desktop.interface`'s `cursor-theme`
setting on Wayland. This should fix cursors not showing up on some GNOME
installs. This PR also adds the wiring to watch the current cursor theme
value.

Thanks to @apricotbucket28 for helping debug the issue.

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-06-11 17:39:25 -07:00 committed by GitHub
parent 4cb8d6f40e
commit ab41eddd8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 145 additions and 30 deletions

View file

@ -359,6 +359,9 @@ impl X11Client {
window.window.set_appearance(appearance);
}
}
XDPEvent::CursorTheme(_) | XDPEvent::CursorSize(_) => {
// noop, X11 manages this for us.
}
}
})
.unwrap();