1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for linux keyboard function.

This commit is contained in:
jules 2012-04-30 12:08:00 +01:00
parent 3ef8be7a42
commit 5e378c5c90

View file

@ -1284,7 +1284,7 @@ public:
keyCode = (int) unicodeChar;
if (keyCode < 0x20)
keyCode = XkbKeycodeToKeysym (display, keyEvent->keycode, currentModifiers.isShiftDown() ? 1 : 0, 0);
keyCode = XkbKeycodeToKeysym (display, 0, keyEvent->keycode, currentModifiers.isShiftDown() ? 1 : 0);
keyDownChange = (sym != NoSymbol) && ! updateKeyModifiersFromSym (sym, true);
}