mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
fix keyboard release (thanks hardening!)
This commit is contained in:
@@ -179,7 +179,7 @@ void xf_keyboard_release_all_keypress(xfContext* xfc)
|
||||
|
||||
for (keycode = 0; keycode < ARRAYSIZE(xfc->KeyboardState); keycode++)
|
||||
{
|
||||
if (!xfc->KeyboardState[keycode])
|
||||
if (xfc->KeyboardState[keycode])
|
||||
{
|
||||
rdp_scancode = freerdp_keyboard_get_rdp_scancode_from_x11_keycode(keycode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user