diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-06-30 12:41:09 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-07-06 00:10:24 -0400 |
commit | 6496d73210ed26b919b7910400d5a624e11bf646 (patch) | |
tree | 584426622b3e99bad17fa7d122408a7cd826a18a /components/script/script_thread.rs | |
parent | 04ce86c08c3a0c3a865f840e95f8f072dfa41b82 (diff) | |
download | servo-6496d73210ed26b919b7910400d5a624e11bf646.tar.gz servo-6496d73210ed26b919b7910400d5a624e11bf646.zip |
Make textinput handle actual key values. Don't restrict character values to a single byte.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 8e45ba31b8a..05689baac39 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1937,7 +1937,7 @@ impl ScriptThread { document.r().handle_touchpad_pressure_event(self.js_runtime.rt(), point, pressure, phase); } - KeyEvent(key, state, modifiers, ch) => { + KeyEvent(ch, key, state, modifiers) => { let document = match self.root_browsing_context().find(pipeline_id) { Some(browsing_context) => browsing_context.active_document(), None => return warn!("Message sent to closed pipeline {}.", pipeline_id), |