[client,x11] fix unicode input

key up and down events were reverted
This commit is contained in:
akallabeth 2023-06-30 15:07:48 +02:00 committed by Martin Fleisz
parent 2d85aa43fa
commit 3dbd9c7eeb

View File

@ -298,7 +298,7 @@ void xf_keyboard_send_key(xfContext* xfc, BOOL down, BOOL repeat, const XKeyEven
freerdp_input_send_keyboard_event_ex(input, down, repeat, rdp_scancode);
}
else
freerdp_input_send_unicode_keyboard_event(input, down ? KBD_FLAGS_RELEASE : 0,
freerdp_input_send_unicode_keyboard_event(input, down ? 0 : KBD_FLAGS_RELEASE,
buffer[0]);
}
else if (rdp_scancode == RDP_SCANCODE_UNKNOWN)