1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-29 00:21:57 +03:00

gui: remove config.dpi override logic

The overrides are now applied at the window layer, which is (mostly!)
aware of per-screen overrides.

refs: #4096
This commit is contained in:
Wez Furlong 2023-08-06 08:45:14 -07:00
parent b11691dda7
commit 18d93fce5a
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -20,10 +20,6 @@ impl super::TermWindow {
window: &Window,
live_resizing: bool,
) {
// ignore dpi changes if there is a fixed dpi set in configuration
if let Some(dpi) = configuration().dpi {
dimensions.dpi = dpi as usize;
}
log::trace!(
"resize event, live={} current cells: {:?}, current dims: {:?}, new dims: {:?} window_state:{:?}",
live_resizing,