atomic: clear invalid cursor buffers
This commit is contained in:
parent
163533a72a
commit
140185f6f5
|
@ -861,6 +861,7 @@ impl<A: AsRawFd + 'static> AtomicDrmSurfaceInternal<A> {
|
|||
},
|
||||
Err(err) => {
|
||||
warn!(self.logger, "Cursor FB invalid: {}. Skipping.", err);
|
||||
self.cursor.framebuffer.set(None);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue