mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
vnc: don't abort on mouse position error
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
5b07ebc44a
commit
939e632931
@ -126,10 +126,13 @@ impl Client {
|
||||
for b in self.last_buttons.difference(&buttons) {
|
||||
inner.console.mouse.release(*b)?;
|
||||
}
|
||||
inner
|
||||
if let Err(err) = inner
|
||||
.console
|
||||
.mouse
|
||||
.set_abs_position(x_position as _, y_position as _)?;
|
||||
.set_abs_position(x_position as _, y_position as _)
|
||||
{
|
||||
eprintln!("Error setting mouse position: {}", err);
|
||||
}
|
||||
self.last_buttons = buttons;
|
||||
}
|
||||
VncEvent::SetPixelFormat(p) => {
|
||||
|
Loading…
Reference in New Issue
Block a user