Ver Fonte

No local cursor by default due to issues #27, #29.

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.
Joel Martin há 15 anos atrás
pai
commit
31a837d55e
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 2 2
      include/default_controls.js
  2. 1 1
      include/rfb.js

+ 2 - 2
include/default_controls.js

@@ -48,7 +48,7 @@ load: function(target) {
     html += '            <li><input id="VNC_true_color"';
     html += '            <li><input id="VNC_true_color"';
     html += '                type="checkbox" checked> True Color</li>';
     html += '                type="checkbox" checked> True Color</li>';
     html += '            <li><input id="VNC_cursor"';
     html += '            <li><input id="VNC_cursor"';
-    html += '                type="checkbox" checked> Local Cursor</li>';
+    html += '                type="checkbox"> Local Cursor</li>';
     html += '            <hr>';
     html += '            <hr>';
 
 
     // Stylesheet selection dropdown
     // Stylesheet selection dropdown
@@ -112,7 +112,7 @@ load: function(target) {
     DC.initSetting('password', '');
     DC.initSetting('password', '');
     DC.initSetting('encrypt', false);
     DC.initSetting('encrypt', false);
     DC.initSetting('true_color', true);
     DC.initSetting('true_color', true);
-    DC.initSetting('cursor', true);
+    DC.initSetting('cursor', false);
 
 
     DC.rfb = RFB({'target': 'VNC_canvas',
     DC.rfb = RFB({'target': 'VNC_canvas',
                   'updateState': DC.updateState,
                   'updateState': DC.updateState,

+ 1 - 1
include/rfb.js

@@ -135,7 +135,7 @@ Util.conf_default(conf, that, 'focusContainer', document);
 
 
 Util.conf_default(conf, that, 'encrypt',        false, true);
 Util.conf_default(conf, that, 'encrypt',        false, true);
 Util.conf_default(conf, that, 'true_color',     true, 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
 // time to wait for connection
 Util.conf_default(conf, that, 'connectTimeout', 2000);
 Util.conf_default(conf, that, 'connectTimeout', 2000);