cursor: merge set_sync_file/swap_buffer
This commit is contained in:
parent
9ac9fb5623
commit
cc56632c68
4 changed files with 12 additions and 21 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue