Fixed Issue 30: Synergy messes with umlauts and other silent keys
This commit is contained in:
parent
9f75415a1f
commit
df0fd3d916
|
@ -359,6 +359,15 @@ doKeyboardHookHandler(WPARAM wParam, LPARAM lParam)
|
||||||
switch (n) {
|
switch (n) {
|
||||||
default:
|
default:
|
||||||
// key is a dead key
|
// key is a dead key
|
||||||
|
|
||||||
|
if(lParam & 0x80000000u)
|
||||||
|
// This handles the obscure situation where a key has been
|
||||||
|
// pressed which is both a dead key and a normal character
|
||||||
|
// depending on which modifiers have been pressed. We
|
||||||
|
// break here to prevent it from being considered a dead
|
||||||
|
// key.
|
||||||
|
break;
|
||||||
|
|
||||||
g_deadVirtKey = wParam;
|
g_deadVirtKey = wParam;
|
||||||
g_deadLParam = lParam;
|
g_deadLParam = lParam;
|
||||||
for (size_t i = 0; i < sizeof(keys) / sizeof(keys[0]); ++i) {
|
for (size_t i = 0; i < sizeof(keys) / sizeof(keys[0]); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue