From 31a837d55e394875345b1cafa2c89fce4b07298f Mon Sep 17 00:00:00 2001 From: Joel Martin <github@martintribe.org> Date: Mon, 20 Sep 2010 16:15:40 -0500 Subject: [PATCH] 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. --- include/default_controls.js | 4 ++-- include/rfb.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/default_controls.js b/include/default_controls.js index 5193b6e..7840e43 100644 --- a/include/default_controls.js +++ b/include/default_controls.js @@ -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, diff --git a/include/rfb.js b/include/rfb.js index 63eee82..2fc7655 100644 --- a/include/rfb.js +++ b/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, '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); -- 2.18.1