wayland: Avoid reloading cursor theme on every cursor style change (#32832)
Release Notes: - N/A
This commit is contained in:
parent
c95e2a2f1d
commit
2539d57ac7
2 changed files with 61 additions and 50 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue