mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUAC-685: Ignore keycode 229, sent by some browsers during IME composition (see: http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html).
This commit is contained in:
@@ -510,6 +510,11 @@ Guacamole.Keyboard = function(element) {
|
||||
// Fix modifier states
|
||||
update_modifier_state(e);
|
||||
|
||||
// Ignore (but do not prevent) the "composition" keycode sent by some
|
||||
// browsers when an IME is in use (see: http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html)
|
||||
if (keynum === 229)
|
||||
return;
|
||||
|
||||
// Try to get keysym from keycode
|
||||
var keysym = keysym_from_keycode(keynum, location);
|
||||
|
||||
|
Reference in New Issue
Block a user