From 31827485a8752e968aeff84a2e1bcb40cd5134c8 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 30 Nov 2022 08:37:59 +0100 Subject: [PATCH] [core,update] do not require EndPaint callback Some RDP servers start sending graphics updates too early for us to process. This triggered a bug that at that point the EndPaint callback is not available, as the connection is not fully established. --- libfreerdp/core/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/core/update.c b/libfreerdp/core/update.c index 75b0df071..0688075f3 100644 --- a/libfreerdp/core/update.c +++ b/libfreerdp/core/update.c @@ -3322,7 +3322,7 @@ BOOL update_begin_paint(rdpUpdate* update) BOOL update_end_paint(rdpUpdate* update) { - BOOL rc = FALSE; + BOOL rc = TRUE; if (!update) return FALSE;