From ceb76aa74491c9a61d94a64ca06e86029080277f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 25 Jul 2011 15:55:39 -0700 Subject: [PATCH] Fixed flag passing --- protocols/rdp/src/rdp_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/rdp/src/rdp_client.c b/protocols/rdp/src/rdp_client.c index 7ff410c1..25aaf85b 100644 --- a/protocols/rdp/src/rdp_client.c +++ b/protocols/rdp/src/rdp_client.c @@ -356,9 +356,9 @@ int rdp_guac_client_key_handler(guac_client* client, int keysym, int pressed) { if (keymap->scancode != 0) rdp_inst->rdp_send_input( rdp_inst, RDP_INPUT_SCANCODE, - pressed ? RDP_KEYPRESS : RDP_KEYRELEASE, + (pressed ? RDP_KEYPRESS : RDP_KEYRELEASE) | keymap->flags, keymap->scancode, - keymap->flags); + 0); }