qemu-vnc: add missing listener disable()

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2023-05-11 22:39:41 +04:00
parent 8b9a70505b
commit 39ee45661b

View File

@ -247,6 +247,10 @@ impl ConsoleListenerHandler for ConsoleListener {
inner.image = image_from_vec(s.format, s.width, s.height, s.stride, s.data);
}
async fn disable(&mut self) {
dbg!();
}
async fn update(&mut self, u: qemu_display::Update) {
let mut inner = self.server.inner.lock().unwrap();
let update = image_from_vec(u.format, u.w as _, u.h as _, u.stride, u.data);