]> git.proxmox.com Git - mirror_novnc.git/commitdiff
No local cursor by default due to issues #27, #29.
authorJoel Martin <github@martintribe.org>
Mon, 20 Sep 2010 21:15:40 +0000 (16:15 -0500)
committerJoel Martin <github@martintribe.org>
Mon, 20 Sep 2010 21:15:40 +0000 (16:15 -0500)
In Safari, local cursor rendering is corrupt. In firefox 3.6.10, local
cursor rendering causes a segfault. Probable that the .cur format is
not 100% compliant (even though it works in Chrome and firefox 3.5 and
firefox 4.0). So just disable it by default until I can figure out how
to address the problems.

include/default_controls.js
include/rfb.js

index 5193b6ea773699e60daede0e180aa49cce343fa6..7840e434ab7723c3d1ef93ca0bbbe785b59125ab 100644 (file)
@@ -48,7 +48,7 @@ load: function(target) {
     html += '            <li><input id="VNC_true_color"';
     html += '                type="checkbox" checked> True Color</li>';
     html += '            <li><input id="VNC_cursor"';
-    html += '                type="checkbox" checked> Local Cursor</li>';
+    html += '                type="checkbox"> Local Cursor</li>';
     html += '            <hr>';
 
     // Stylesheet selection dropdown
@@ -112,7 +112,7 @@ load: function(target) {
     DC.initSetting('password', '');
     DC.initSetting('encrypt', false);
     DC.initSetting('true_color', true);
-    DC.initSetting('cursor', true);
+    DC.initSetting('cursor', false);
 
     DC.rfb = RFB({'target': 'VNC_canvas',
                   'updateState': DC.updateState,
index 63eee8203d39bec81ccd978ac7d96cad5ca8339c..2fc765507d637ed7694a54758f25e8847184d561 100644 (file)
@@ -135,7 +135,7 @@ Util.conf_default(conf, that, 'focusContainer', document);
 
 Util.conf_default(conf, that, 'encrypt',        false, true);
 Util.conf_default(conf, that, 'true_color',     true, true);
-Util.conf_default(conf, that, 'local_cursor',   true, true);
+Util.conf_default(conf, that, 'local_cursor',   false, true);
 
 // time to wait for connection
 Util.conf_default(conf, that, 'connectTimeout', 2000);