Trying sending mouse events every 10ms, rather than every RT.
This commit is contained in:
1 parent
1c6b898f51
commit
33a6452818
1 file changed
+1
-6
@@ -203,12 +203,7 @@ function VNCClient(display) {
|
|||||||
mouseEventBuffer = ""; // Clear buffer
|
mouseEventBuffer = ""; // Clear buffer
|
||||||
|
|
||||||
// Once response received, send next queued event.
|
// Once response received, send next queued event.
|
||||||
mouse_xmlhttprequest.onreadystatechange = function() {
|
setTimeout(sendPendingMouseEvents, 10);
|
||||||
|
|
||||||
if (mouse_xmlhttprequest.readyState == 4)
|
|
||||||
sendPendingMouseEvents();
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
mouse_xmlhttprequest.send(null);
|
mouse_xmlhttprequest.send(null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user