From 7598f5a95a0c7bcc8419890e41abfdb2094f1d9b Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 20 Jun 2020 16:09:43 -0700 Subject: [PATCH] GUACAMOLE-1076: Use proper constants to represent RemoteApp high contrast support flags. --- src/protocols/rdp/channels/rail.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/protocols/rdp/channels/rail.c b/src/protocols/rdp/channels/rail.c index c8936d6c..5f105c8e 100644 --- a/src/protocols/rdp/channels/rail.c +++ b/src/protocols/rdp/channels/rail.c @@ -104,7 +104,13 @@ static UINT guac_rdp_rail_complete_handshake(RailClientContext* rail) { .dragFullWindows = FALSE, .highContrast = { - .flags = 0x7E, + .flags = + HCF_AVAILABLE + | HCF_CONFIRMHOTKEY + | HCF_HOTKEYACTIVE + | HCF_HOTKEYAVAILABLE + | HCF_HOTKEYSOUND + | HCF_INDICATOR, .colorScheme = { .string = NULL, .length = 0