Commit 13106063 authored by Joel Martin's avatar Joel Martin

Make tests/vnc_perf.html work again.

parent a7db5059
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<title>VNC Performance Benchmark</title> <title>VNC Performance Benchmark</title>
<link rel="stylesheet" href="../include/plain.css"> <link rel="stylesheet" href="../include/base.css">
</head> </head>
<body> <body>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</script> </script>
<script src="../include/vnc.js"></script> <script src="../include/vnc.js"></script>
<script src="../include/playback.js"></script> <script src="../include/playback.js"></script>
<script src="data/multi.js"></script> <script src="../data/multi.js"></script>
<script> <script>
var start_time, VNC_frame_data, pass, passes, encIdx, var start_time, VNC_frame_data, pass, passes, encIdx,
...@@ -126,7 +126,9 @@ ...@@ -126,7 +126,9 @@
pass += 1; pass += 1;
if (pass > passes) { if (pass > passes) {
// We are finished // We are finished
rfb.get_canvas().stop(); // Shut-off event interception // Shut-off event interception
rfb.get_mouse().ungrab();
rfb.get_keyboard().ungrab();
$D('startButton').disabled = false; $D('startButton').disabled = false;
$D('startButton').value = "Start"; $D('startButton').value = "Start";
finish_passes(); finish_passes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment