mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Sending key events through script task before processing them in the compositor.
Fixes #4163
This commit is contained in:
parent
f451005f4f
commit
b0552cb98e
10 changed files with 131 additions and 66 deletions
|
@ -123,5 +123,7 @@ pub trait WindowMethods {
|
|||
/// some type of platform-specific graphics context current. Returns true if the composite may
|
||||
/// proceed and false if it should not.
|
||||
fn prepare_for_composite(&self) -> bool;
|
||||
}
|
||||
|
||||
/// Process a key event.
|
||||
fn handle_key(&self, key: Key, mods: KeyModifiers);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue