From 5c890d40ad1698229a7ac165d0ac2fff607b530a Mon Sep 17 00:00:00 2001 From: Marc-Andre Lureau Date: Wed, 12 Mar 2025 16:01:12 +0400 Subject: [PATCH] fix(client): set back control flow to wait (#693) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- crates/ironrdp-client/src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ironrdp-client/src/app.rs b/crates/ironrdp-client/src/app.rs index 575c12f7..5c8c4a88 100644 --- a/crates/ironrdp-client/src/app.rs +++ b/crates/ironrdp-client/src/app.rs @@ -98,6 +98,7 @@ impl ApplicationHandler for App { } else { self.send_resize_event(); self.resize_timeout = None; + event_loop.set_control_flow(ControlFlow::Wait); } } }