pub(crate) fn precise_location(
    buttons: &Buttons,
    old: Location,
    width: u32,
    x: f64,
    y: f64
) -> Location