mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Only send integer coordinates in mouse events.
This commit is contained in:
		| @@ -208,7 +208,7 @@ Guacamole.Client = function(tunnel) { | ||||
|         if (mouseState.down)   buttonMask |= 16; | ||||
|  | ||||
|         // Send message | ||||
|         tunnel.sendMessage("mouse", mouseState.x, mouseState.y, buttonMask); | ||||
|         tunnel.sendMessage("mouse", Math.floor(mouseState.x), Math.floor(mouseState.y), buttonMask); | ||||
|     }; | ||||
|  | ||||
|     guac_client.setClipboard = function(data) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user