mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +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