fix(client): set back control flow to wait (#693)

After resize event is sent, we should switch back to a normal mode,
instead of wait-duration(0)/polling.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-Andre Lureau
2025-03-12 12:01:12 +00:00
committed by GitHub
parent d01e667ebc
commit 5c890d40ad
+1
View File
@@ -98,6 +98,7 @@ impl ApplicationHandler<RdpOutputEvent> for App {
} else {
self.send_resize_event();
self.resize_timeout = None;
event_loop.set_control_flow(ControlFlow::Wait);
}
}
}