diff --git a/src/bin/player.rs b/src/bin/player.rs index 6571ced..b4576ef 100644 --- a/src/bin/player.rs +++ b/src/bin/player.rs @@ -236,6 +236,7 @@ fn main() -> Result<(), Error> { fn window_builder(title: &str, event_loop: &EventLoop<()>) -> winit::window::Window { winit::window::WindowBuilder::new() .with_visible(false) + .with_resizable(false) .with_title(title).build(&event_loop).unwrap() } @@ -246,6 +247,7 @@ fn window_builder(title: &str, event_loop: &EventLoop<()>) -> winit::window::Win winit::window::WindowBuilder::new() .with_drag_and_drop(false) .with_visible(false) + .with_resizable(false) .with_title(title).build(&event_loop).unwrap() }