mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-998: Prefer to use keysym from recent keydown, rather than keysym from keycode alone.
This commit is contained in:
		| @@ -298,8 +298,8 @@ Guacamole.Keyboard = function(element) { | |||||||
|         this.location = location; |         this.location = location; | ||||||
|  |  | ||||||
|         // If key is known from keyCode or DOM3 alone, use that |         // If key is known from keyCode or DOM3 alone, use that | ||||||
|         this.keysym =  keysym_from_keycode(keyCode, location) |         this.keysym =  recentKeysym[keyCode] | ||||||
|                     || recentKeysym[keyCode] |                     || keysym_from_keycode(keyCode, location) | ||||||
|                     || keysym_from_key_identifier(key, location); // keyCode is still more reliable for keyup when dead keys are in use |                     || keysym_from_key_identifier(key, location); // keyCode is still more reliable for keyup when dead keys are in use | ||||||
|  |  | ||||||
|         // Keyup is as reliable as it will ever be |         // Keyup is as reliable as it will ever be | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user