pub fn switch_window(fdata: &FocusData)