Skip to content

Commit 5c890d4

Browse files
authored
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>
1 parent d01e667 commit 5c890d4

File tree

1 file changed

+1
-0
lines changed
  • crates/ironrdp-client/src

1 file changed

+1
-0
lines changed

crates/ironrdp-client/src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ impl ApplicationHandler<RdpOutputEvent> for App {
9898
} else {
9999
self.send_resize_event();
100100
self.resize_timeout = None;
101+
event_loop.set_control_flow(ControlFlow::Wait);
101102
}
102103
}
103104
}

0 commit comments

Comments
 (0)