mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +01:00
Add Windows support for handle_event
This commit is contained in:
parent
721693c43e
commit
c65598907e
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ impl Window {
|
|||
self.event_queue.borrow_mut().push(WindowEvent::MouseWindowEventClass(event));
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
#[cfg(any(target_os = "macos", target_os = "windows"))]
|
||||
fn handle_next_event(&self) -> bool {
|
||||
let event = self.window.wait_events().next().unwrap();
|
||||
let mut close = self.handle_window_event(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue