[Spice-commits] 2 commits - src/inputs.js

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 23 18:03:39 UTC 2019


 src/inputs.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5fae52199b9726053449007189ab15aba57cffa1
Merge: 87b9bee 1cc7987
Author: Jeremy White <jwhite at codeweavers.com>
Date:   Fri Aug 23 18:03:37 2019 +0000

    Merge branch 'fix-ctrl-alt-delete' into 'master'
    
    Add the sc object to sendCtrlAltDel because it is otherwise undefined and issues a JS error
    
    See merge request spice/spice-html5!2

commit 1cc79873609f856d490d3d0ad564f9d2c1708050
Author: Paul Hodges IV <phodges4 at gmail.com>
Date:   Tue Aug 20 14:34:16 2019 +0000

    Add the sc object to sendCtrlAltDel because it is otherwise undefined and issues a JS error

diff --git a/src/inputs.js b/src/inputs.js
index 0c4e183..c6fd3f7 100644
--- a/src/inputs.js
+++ b/src/inputs.js
@@ -190,7 +190,7 @@ function handle_keyup(e)
     e.preventDefault();
 }
 
-function sendCtrlAltDel()
+function sendCtrlAltDel(sc)
 {
     if (sc && sc.inputs && sc.inputs.state === "ready"){
         var key = new Messages.SpiceMsgcKeyDown();


More information about the Spice-commits mailing list