pub(crate) fn configure_windows_for_mode( state: &AppState, display_id: u32, output: &Output, width: i32, height: i32, scale: f64, )