summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2019-08-23 18:03:37 +0000
committerJeremy White <jwhite@codeweavers.com>2019-08-23 18:03:37 +0000
commit5fae52199b9726053449007189ab15aba57cffa1 (patch)
tree385cb442281fa2fbfada58c75ae590ff8be76d84
parent87b9bee02f1313d3b8a696cb2501b4484cc42e57 (diff)
parent1cc79873609f856d490d3d0ad564f9d2c1708050 (diff)
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
-rw-r--r--src/inputs.js2
1 files changed, 1 insertions, 1 deletions
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();