• Solly Ross's avatar
    Create RFB object on connect · 58ded70d
    Solly Ross authored
    In e543525f, we switched to creating
    a new RFB object on disconnect.  This caused issues, however, since
    any errors were only displayed briefly before the new "loaded" text
    was displayed instead.
    
    Now, we create the RFB object on connect.  This essentially removes
    the usefulness of the "loaded" state, but prevents the aforementioned
    problem.
    
    To facilitate this, the code which does detection of cursor URI support
    was moved from this Display constructor (which now calls the new
    function) into its own function, `Util.browserSupportsCursorURIs()`.
    
    Fixes #467
    58ded70d
Name
Last commit
Last update
docs Loading commit data...
images Loading commit data...
include Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
karma.conf.js Loading commit data...
package.json Loading commit data...
vnc.html Loading commit data...
vnc_auto.html Loading commit data...