1
0
Fork 0
forked from wry/wry

cursor: merge set_sync_file/swap_buffer

This commit is contained in:
Julian Orth 2026-02-16 13:40:08 +01:00
parent 9ac9fb5623
commit cc56632c68
4 changed files with 12 additions and 21 deletions

View file

@ -515,8 +515,7 @@ impl CursorUser {
);
match res {
Ok(sync_file) => {
hc.set_sync_file(sync_file);
hc.swap_buffer();
hc.swap_buffer(sync_file);
}
Err(e) => {
log::error!("Could not render hardware cursor: {}", ErrorFmt(e));