1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 05:42:03 +03:00

x11: more logging around configure notify events

refs: #1710
This commit is contained in:
Wez Furlong 2022-03-22 09:30:50 -07:00
parent 9936b8a5ab
commit 57c66053d2

View File

@ -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;