mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-10-25 21:50:12 +00:00
Update to current zbus
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
1 parent
5f0279eb1f
commit
e4df821fc2
1 file changed
+1
-1
@@ -201,7 +201,7 @@ mod imp {
|
|||||||
let mut abs_changed = console.mouse.receive_is_absolute_changed().await;
|
let mut abs_changed = console.mouse.receive_is_absolute_changed().await;
|
||||||
MainContext::default().spawn_local(clone!(@weak widget => async move {
|
MainContext::default().spawn_local(clone!(@weak widget => async move {
|
||||||
while let Some(abs) = abs_changed.next().await {
|
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);
|
widget.set_mouse_absolute(abs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user