Mac OS X: Made KeyboardEventQueue handle widened char types
This commit is contained in:
parent
0f12ecee3b
commit
7ac72d9c32
|
@ -257,7 +257,7 @@ final class KeyboardEventQueue extends EventQueue implements KeyListener {
|
||||||
key_down_buffer.position(old_position);
|
key_down_buffer.position(old_position);
|
||||||
}
|
}
|
||||||
|
|
||||||
private synchronized void handleKey(int key_code_mapped, byte state, char character) {
|
private synchronized void handleKey(int key_code_mapped, byte state, int character) {
|
||||||
if ( character == KeyEvent.CHAR_UNDEFINED )
|
if ( character == KeyEvent.CHAR_UNDEFINED )
|
||||||
character = Keyboard.CHAR_NONE;
|
character = Keyboard.CHAR_NONE;
|
||||||
/* Ignore repeating presses */
|
/* Ignore repeating presses */
|
||||||
|
|
Loading…
Reference in New Issue