GUACAMOLE-377: Expect explicit RDP frame boundaries only after at least one frame boundary has been received.

This commit is contained in:
Michael Jumper 2022-05-18 11:58:30 -07:00
parent a0e9f6ed9b
commit 28396ae345

View File

@ -427,7 +427,7 @@ BOOL guac_rdp_gdi_begin_paint(rdpContext* context) {
guac_rdp_client* rdp_client = (guac_rdp_client*) client->data; guac_rdp_client* rdp_client = (guac_rdp_client*) client->data;
/* Leverage BeginPaint handler to detect start of frame for RDPGFX channel */ /* Leverage BeginPaint handler to detect start of frame for RDPGFX channel */
if (rdp_client->settings->enable_gfx) if (rdp_client->settings->enable_gfx && rdp_client->frames_supported)
guac_rdp_gdi_mark_frame(context, 1); guac_rdp_gdi_mark_frame(context, 1);
return TRUE; return TRUE;