projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62da9d2
)
Update xf_keyboard.c
author
volth
<volth@webmaster.ms>
Wed, 23 Sep 2015 18:40:34 +0000
(18:40 +0000)
committer
volth
<volth@webmaster.ms>
Wed, 23 Sep 2015 18:40:34 +0000
(18:40 +0000)
With Japanese physical keyboard and English layout, pressing the extra keys can cause FreeRDP crash.
client/X11/xf_keyboard.c
patch
|
blob
|
history
diff --git
a/client/X11/xf_keyboard.c
b/client/X11/xf_keyboard.c
index
a85186f
..
1d6d9c0
100644
(file)
--- a/
client/X11/xf_keyboard.c
+++ b/
client/X11/xf_keyboard.c
@@
-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+");