1
0
Fork 0
forked from wry/wry

output-schedule: fix hardware cursor updates

This commit is contained in:
Julian Orth 2024-10-29 08:49:51 +01:00
parent 163bb2c893
commit 7e40e90c4d
3 changed files with 8 additions and 0 deletions

View file

@ -165,6 +165,10 @@ impl OutputSchedule {
break;
}
}
self.commit_cursor();
}
pub fn commit_cursor(&self) {
if self.needs_hardware_cursor_commit.take() {
if let Some(hc) = self.hardware_cursor.get() {
hc.damage();