mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user