pub fn process_event(&mut self, window: &Window, event: &WinitWindowEvent) {
        self.inner.process_event(window, event);
    }
Allows reacting to window events.

This must be called whenever a new window event is received
and before it is handled by the application.
platforms/winit/src/lib.rs