]> git.proxmox.com Git - mirror_novnc.git/blobdiff - include/canvas.js
Fix focus/clipboard related to mouse/keyboard refactor.
[mirror_novnc.git] / include / canvas.js
index 8426a945d8c0e077d551bc449d1168c15d76a4ed..dd61a406c61697866449c1d883dc53248038f629 100644 (file)
@@ -37,7 +37,6 @@ cdef('cursor_uri',     'raw', null, 'Can we render cursor using data URI');
 cdef('target',         'dom',  null, 'Canvas element for VNC viewport');
 cdef('focusContainer', 'dom',  document, 'DOM element that traps keyboard input');
 cdef('true_color',     'bool', true, 'Request true color pixel data');
-cdef('focused',        'bool', true, 'Capture and send key strokes');
 cdef('colourMap',      'raw',  [], 'Colour map array (not true color)');
 cdef('scale',          'float', 1, 'VNC viewport scale factor');
 
@@ -204,8 +203,6 @@ function constructor() {
         conf.cursor_uri = false;
     }
 
-    conf.focused = true;
-
     Util.Debug("<< Canvas.init");
     return that ;
 }