diff --git a/src/ui_session_interface.rs b/src/ui_session_interface.rs index 02bd99eff..348bcbd7b 100644 --- a/src/ui_session_interface.rs +++ b/src/ui_session_interface.rs @@ -1228,7 +1228,7 @@ impl Session { #[inline] fn try_change_init_resolution(&self, display: i32) { if let Some((w, h)) = self.lc.read().unwrap().get_custom_resolution(display) { - self.do_change_resolution(w, h); + self.change_resolution(display, w, h); } }