mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Going back to network-timed mouse events.
This commit is contained in:
@@ -202,7 +202,10 @@ function VNCClient(display) {
|
|||||||
mouseEventBuffer = ""; // Clear buffer
|
mouseEventBuffer = ""; // Clear buffer
|
||||||
|
|
||||||
// Once response received, send next queued event.
|
// Once response received, send next queued event.
|
||||||
setTimeout(sendPendingMouseEvents, 10);
|
mouse_xmlhttprequest.onreadystatechange = function() {
|
||||||
|
if (mouse_xmlhttprequest.readyState == 4)
|
||||||
|
sendPendingMouseEvents();
|
||||||
|
}
|
||||||
|
|
||||||
mouse_xmlhttprequest.send(null);
|
mouse_xmlhttprequest.send(null);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user