wayland: Avoid reloading cursor theme on every cursor style change (#32832)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-06-16 22:27:02 -06:00 committed by GitHub
parent c95e2a2f1d
commit 2539d57ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 61 additions and 50 deletions

View file

@ -537,7 +537,7 @@ impl WaylandClient {
XDPEvent::CursorTheme(theme) => {
if let Some(client) = client.0.upgrade() {
let mut client = client.borrow_mut();
client.cursor.set_theme(theme.as_str());
client.cursor.set_theme(theme);
}
}
XDPEvent::CursorSize(size) => {