6839645: Swing application prints message in Control Panel if language is changed
Just remove debug printout from production builds; ignore multicharacter-generating keys Reviewed-by: uta
This commit is contained in:
parent
fb9bba27b9
commit
1770d3d03e
@ -3334,7 +3334,13 @@ AwtComponent::BuildPrimaryDynamicTable() {
|
||||
// reset
|
||||
resetKbdState( kbdState );
|
||||
}else {
|
||||
printf ("++++Whats that? wkey 0x%x (%d)\n", i,i);
|
||||
// k > 1: this key does generate multiple characters. Ignore it.
|
||||
// An example: Arabic Lam and Alef ligature.
|
||||
// There will be no extended keycode and thus shortcuts for this key.
|
||||
// XXX shouldn't we reset the kbd state?
|
||||
#ifdef DEBUG
|
||||
DTRACE_PRINTLN2("wkey 0x%02X (%d)", i,i);
|
||||
#endif
|
||||
}
|
||||
kbdState[i] = 0; // "key unpressed"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user