From 3a80fece32f22a5d519a6a87ed29935268d0756c Mon Sep 17 00:00:00 2001 From: dtzxporter Date: Fri, 9 Feb 2024 08:40:50 -0500 Subject: Implement win32 workaround for multi_window application as well. Also trigger AboutToWait for Moved as well. --- winit/src/application.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winit/src/application.rs') diff --git a/winit/src/application.rs b/winit/src/application.rs index 0fc67adc..ad461738 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -250,7 +250,8 @@ where if matches!( event, winit::event::Event::WindowEvent { - event: winit::event::WindowEvent::Resized(_), + event: winit::event::WindowEvent::Resized(_) + | winit::event::WindowEvent::Moved(_), .. } ) { -- cgit