GUACAMOLE-249: Do not draw background for glyphs when "redundant" (transparent).

This commit is contained in:
Michael Jumper 2020-01-01 20:33:46 -08:00
parent d7151e0d84
commit 2d4412316f

View File

@ -139,7 +139,7 @@ BOOL guac_rdp_glyph_begindraw(rdpContext* context, INT32 x, INT32 y,
(guac_rdp_client*) client->data;
/* Fill background with color if specified */
if (width != 0 && height != 0) {
if (width != 0 && height != 0 && !redundant) {
/* Convert background color */
bgcolor = guac_rdp_convert_color(context, bgcolor);