From 3dbd9c7eeb66657b5008e95a57984ea81439a3b5 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Fri, 30 Jun 2023 15:07:48 +0200 Subject: [PATCH] [client,x11] fix unicode input key up and down events were reverted --- client/X11/xf_keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/X11/xf_keyboard.c b/client/X11/xf_keyboard.c index a55967370..1e24deb09 100644 --- a/client/X11/xf_keyboard.c +++ b/client/X11/xf_keyboard.c @@ -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)