mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Update xf_keyboard.c
With Japanese physical keyboard and English layout, pressing the extra keys can cause FreeRDP crash.
This commit is contained in:
@@ -381,6 +381,10 @@ int xf_keyboard_execute_action_script(xfContext* xfc, XF_MODIFIER_KEYS* mod, Key
|
||||
}
|
||||
|
||||
keyStr = XKeysymToString(keysym);
|
||||
if (keyStr == 0)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (mod->Shift)
|
||||
strcat(combination, "Shift+");
|
||||
|
||||
Reference in New Issue
Block a user