(x_get_focus_frame): New arg FRAME. Callers changed.