From 57c66053d2babe2725443020b4b89372334330e5 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 22 Mar 2022 09:30:50 -0700 Subject: [PATCH] x11: more logging around configure notify events refs: #1710 --- window/src/os/x11/window.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index 5a8b47317..74901df52 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -248,9 +248,20 @@ impl XWindowInner { if width == self.width && height == self.height && dpi == self.dpi { // Effectively unchanged; perhaps it was simply moved? // Do nothing! + log::trace!("Ignoring CONFIGURE_NOTIFY because width,height,dpi are unchanged"); return Ok(()); } + log::trace!( + "CONFIGURE_NOTIFY: width {} -> {}, height {} -> {}, dpi {} -> {}", + self.width, + width, + self.height, + height, + self.dpi, + dpi + ); + self.width = width; self.height = height; self.dpi = dpi;