diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-06-30 04:27:26 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-07-05 18:06:42 -0400 |
commit | 04ce86c08c3a0c3a865f840e95f8f072dfa41b82 (patch) | |
tree | 01c4675aa11e9b4a95548e17d13798d6da25214d /components/script_traits/script_msg.rs | |
parent | 87c77725279ba3f1b612e27fccf353c81eae17b8 (diff) | |
download | servo-04ce86c08c3a0c3a865f840e95f8f072dfa41b82.tar.gz servo-04ce86c08c3a0c3a865f840e95f8f072dfa41b82.zip |
Associate logical and physical keypresses together to support non-QWERTY keyboards.
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 7fc871eb4cc..1aaa9ee1503 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -103,7 +103,7 @@ pub enum ScriptMsg { /// https://html.spec.whatwg.org/multipage/#document.title SetTitle(PipelineId, Option<String>), /// Send a key event - SendKeyEvent(Key, KeyState, KeyModifiers), + SendKeyEvent(Key, KeyState, KeyModifiers, Option<char>), /// Get Window Informations size and position GetClientWindow(IpcSender<(Size2D<u32>, Point2D<i32>)>), /// Move the window to a point |