From 3f1d899f0babbec82625140fe24df078bb313577 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Tue, 5 Nov 2024 06:28:48 +0100 Subject: [PATCH] explicitly ignore unknown events --- src/ui/window.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/window.rs b/src/ui/window.rs index d02ed5b..a63e478 100644 --- a/src/ui/window.rs +++ b/src/ui/window.rs @@ -196,6 +196,10 @@ mod imp { }; } + Event::Unknown(_) => { + // either deprecated or future, ignore + } + _ => event!(Level::DEBUG, "unhandled {event:?}"), } }