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
|
||||
|
||||
// Once response received, send next queued event.
|
||||
mouse_xmlhttprequest.onreadystatechange = function() {
|
||||
|
||||
if (mouse_xmlhttprequest.readyState == 4)
|
||||
sendPendingMouseEvents();
|
||||
|
||||
};
|
||||
setTimeout(sendPendingMouseEvents, 10);
|
||||
|
||||
mouse_xmlhttprequest.send(null);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user