From 77ea1240946bbc3e55a1c19f17fc8c5594fa5701 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 20 Apr 2023 07:30:29 -0700 Subject: [PATCH] eprintln -> log::trace Avoid unconditionally logging this diagnostic message, so that we don't fill up wherever stderr is logging to. refs: #3564 --- window/src/os/x11/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index edc15d823..d8da4070f 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -408,7 +408,7 @@ impl XWindowInner { }) } _ => { - eprintln!("button {} is not implemented", detail); + log::trace!("button {} is not implemented", detail); return Ok(()); } }; @@ -599,7 +599,7 @@ impl XWindowInner { self.events.dispatch(WindowEvent::MouseLeave); } _ => { - eprintln!("unhandled: {:?}", event); + log::warn!("unhandled: {:?}", event); } }