From 66541a085608b60da4c24bdda1861c9904fad375 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Wed, 8 Nov 2023 17:34:57 +0100 Subject: [PATCH] fix process event api usage --- crates/bevy_winit/src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs index b9ce8c09a45d9..d71f6ce143c4c 100644 --- a/crates/bevy_winit/src/lib.rs +++ b/crates/bevy_winit/src/lib.rs @@ -467,11 +467,7 @@ pub fn winit_runner(mut app: App) { // the engine. if let Some(adapter) = access_kit_adapters.get(&window_entity) { if let Some(window) = winit_windows.get_window(window_entity) { - // Somewhat surprisingly, this call has meaningful side effects - // See https://github.com/AccessKit/accesskit/issues/300 - // AccessKit might later need to filter events based on this, but we currently do not. - // See https://github.com/bevyengine/bevy/pull/10239#issuecomment-1775572176 - let _ = adapter.process_event(window, &event); + adapter.process_event(window, &event); } }