Only send integer coordinates in mouse events.
This commit is contained in:
1 parent
47b9e43559
commit
5e0c6d8c51
1 file changed
+1
-1
@@ -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