Browse Source

Make tests/vnc_perf.html work again.

Joel Martin 14 years ago
parent
commit
1310606305
1 changed files with 5 additions and 3 deletions
  1. 5 3
      tests/vnc_perf.html

+ 5 - 3
tests/vnc_perf.html

@@ -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 @@
     </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 @@
                 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();