From b26f9d64d6b8f0d12ec35531616ae48cda2b268b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 18 May 2022 15:44:47 -0700 Subject: [PATCH] GUACAMOLE-377: Clarify usage of EndPaint to detect frames. --- src/protocols/rdp/gdi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols/rdp/gdi.c b/src/protocols/rdp/gdi.c index 075a382a..393bb734 100644 --- a/src/protocols/rdp/gdi.c +++ b/src/protocols/rdp/gdi.c @@ -440,8 +440,8 @@ BOOL guac_rdp_gdi_end_paint(rdpContext* context) { guac_rdp_client* rdp_client = (guac_rdp_client*) client->data; rdpGdi* gdi = context->gdi; - /* Leverage EndPaint handler to detect end of frame for RDPGFX channel - * (ignore otherwise) */ + /* Ignore EndPaint handler unless needed to detect end of frame for RDPGFX + * channel */ if (!rdp_client->settings->enable_gfx) return TRUE;