mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-11-09 17:40:05 +00:00
Update to current zbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
5f0279eb1f
commit
e4df821fc2
@ -201,7 +201,7 @@ mod imp {
|
||||
let mut abs_changed = console.mouse.receive_is_absolute_changed().await;
|
||||
MainContext::default().spawn_local(clone!(@weak widget => async move {
|
||||
while let Some(abs) = abs_changed.next().await {
|
||||
if let Some(abs) = abs {
|
||||
if let Ok(abs) = abs.get().await {
|
||||
widget.set_mouse_absolute(abs);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user