diff --git a/src/main.rs b/src/main.rs index e574f710..6c78fb6b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -861,6 +861,10 @@ impl framework::Example for GraphicsData { _=>(), } }, + winit::event::WindowEvent::Focused(state)=>{ + //pause unpause + //recalculate pressed keys on focus + } _=>(), } }