summaryrefslogtreecommitdiffstats
path: root/winit/src/application.rs
diff options
context:
space:
mode:
authorLibravatar dtzxporter <dtzxporter@users.noreply.github.com>2024-02-09 08:40:50 -0500
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-13 04:35:00 +0100
commit3a80fece32f22a5d519a6a87ed29935268d0756c (patch)
tree7942e3e626dbaba9fd1396ef12b3dd87593f25bb /winit/src/application.rs
parentdc2cba92646392fa78a14f768d98ad5f15b9f182 (diff)
downloadiced-3a80fece32f22a5d519a6a87ed29935268d0756c.tar.gz
iced-3a80fece32f22a5d519a6a87ed29935268d0756c.tar.bz2
iced-3a80fece32f22a5d519a6a87ed29935268d0756c.zip
Implement win32 workaround for multi_window application as well. Also trigger AboutToWait for Moved as well.
Diffstat (limited to 'winit/src/application.rs')
-rw-r--r--winit/src/application.rs3
1 files changed, 2 insertions, 1 deletions
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(_),
..
}
) {