Signed-off-by: Erlon R. Cruz <erlon.cruz@xxxxxxxxxxxxxxxxxx> Signed-off-by: Rafael F. Santos <fonsecasantos.rafael@xxxxxxxxx> Signed-off-by: Fabiano Fidêncio <Fabiano.Fidêncio@xxxxxxxxxxxxxxxxxxxxx> --- server/inputs_channel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/inputs_channel.c b/server/inputs_channel.c index aa1cba9..bc0a181 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -300,8 +300,8 @@ static int inputs_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, ui } } case SPICE_MSGC_INPUTS_KEY_UP: { - SpiceMsgcKeyDown *key_down = (SpiceMsgcKeyDown *)message; - uint32_t code = key_down->code; + SpiceMsgcKeyUp *key_up = (SpiceMsgcKeyUp *)message; + uint32_t code = key_up->code; for (; code != 0; code >>= 8) { kbd_push_scan(keyboard, code & 0xff); -- 1.7.4.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel