pub(crate) fn get_xtarget<T>(
    target: &EventLoopWindowTarget<T>
) -> &EventLoopWindowTarget<T>