From b7f05b9e4f0523f82681d78f5e57563ebb695172 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 6 Jun 2022 09:26:01 -0700 Subject: [PATCH] GUACAMOLE-377: Ensure backing surface of underlying FreeRDP GDI implementation is resized when desktop is resized. --- src/protocols/rdp/gdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/protocols/rdp/gdi.c b/src/protocols/rdp/gdi.c index 393bb734..f0ba4881 100644 --- a/src/protocols/rdp/gdi.c +++ b/src/protocols/rdp/gdi.c @@ -493,7 +493,8 @@ BOOL guac_rdp_gdi_desktop_resize(rdpContext* context) { guac_rdp_get_width(context->instance), guac_rdp_get_height(context->instance)); - return TRUE; + return gdi_resize(context->gdi, guac_rdp_get_width(context->instance), + guac_rdp_get_height(context->instance)); }