message: accept only current window events
diff: @@ -100,7 +100,9 @@ fn main() {
  // polling and handling the events received by the window
  let mut enter_pressed = false;
  events_loop.poll_events(|event| match event {
  - Event::WindowEvent { event, .. } => match event {
  + Event::WindowEvent { event, window_id } =>
  + if window_id == display.gl_window().id() {
  + match event {
  WindowEvent::Closed => action = support::Action::Stop,
  WindowEvent::KeyboardInput { input, .. } => {
  if let ElementState::Pressed = input.state {
  @@ -110,6 +112,7 @@ fn main() {
  }
  },
  _ => ()
  + }
  },
  _ => (),
  });
  