From 7e7c096327d7193528dec98b0798620cfe946044 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Tue, 5 Mar 2013 17:08:53 +0100 Subject: [PATCH] iOS: correctly refresh screen after resize --- client/iOS/Controllers/RDPSessionViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/iOS/Controllers/RDPSessionViewController.m b/client/iOS/Controllers/RDPSessionViewController.m index 08dbe75..1aa94b5 100644 --- a/client/iOS/Controllers/RDPSessionViewController.m +++ b/client/iOS/Controllers/RDPSessionViewController.m @@ -375,7 +375,10 @@ - (void)sessionBitmapContextDidChange:(RDPSession*)session { // associate view with session - [_session_view setSession:session]; + [_session_view setSession:session]; + + // issue an update (this might be needed in case we had a resize for instance) + [_session_view setNeedsDisplay]; } - (void)session:(RDPSession*)session needsRedrawInRect:(CGRect)rect -- 2.7.4