mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
parent
9936b8a5ab
commit
57c66053d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user