diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-12-19 12:37:02 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-12-20 00:00:16 +0100 |
commit | 0a808bea5422a9aa4c65070064973f3c09c95e21 (patch) | |
tree | e655b1f4c5a2d19568fe29a052b7f6a6d14848a2 /gdk/broadway/broadway.js | |
parent | 3824376afcb46fd67105a2d6a531c149cefa3afa (diff) | |
download | gtk+-0a808bea5422a9aa4c65070064973f3c09c95e21.tar.gz |
broadway: Separate out the server parts
This (shouldn't) change any behaviour, but it moves the
webserver parts to a separate file, making the broadway display file
smaller and preparing for later separating out the server to its own
process.
Diffstat (limited to 'gdk/broadway/broadway.js')
-rw-r--r-- | gdk/broadway/broadway.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/broadway/broadway.js b/gdk/broadway/broadway.js index cea91dbccd..acfec428e0 100644 --- a/gdk/broadway/broadway.js +++ b/gdk/broadway/broadway.js @@ -2671,7 +2671,7 @@ function handleKeyDown(e) { // browser behaviors or it has no corresponding keyPress // event, then send it immediately if (!ignoreKeyEvent(ev)) - sendInput("k", [keysym, lastState]); + sendInput("k", [realWindowWithMouse, keysym, lastState]); suppress = true; } @@ -2716,7 +2716,7 @@ function handleKeyPress(e) { // Send the translated keysym if (keysym > 0) - sendInput ("k", [keysym, lastState]); + sendInput ("k", [realWindowWithMouse, keysym, lastState]); // Stop keypress events just in case return cancelEvent(ev); @@ -2735,7 +2735,7 @@ function handleKeyUp(e) { } if (keysym > 0) - sendInput ("K", [keysym, lastState]); + sendInput ("K", [realWindowWithMouse, keysym, lastState]); return cancelEvent(ev); } |