Going back to network-timed mouse events.
This commit is contained in:
1 parent
e05a2e5f79
commit
75d4e7193e
1 file changed
+4
-1
@@ -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