static Lisp_Object
tty_frame_at (int x, int y, int *cx, int *cy)
{
+#ifndef HAVE_ANDROID
for (Lisp_Object frames = Ftty_frame_list_z_order (Qnil);
!NILP (frames);
frames = Fcdr (frames))
return frame;
}
}
+#endif /* !HAVE_ANDROID */
return Qnil;
}
if (term->cursor_to_hook)
{
int x, y;
+#ifndef HAVE_ANDROID
root_xy (f, hpos, vpos, &x, &y);
+#else /* HAVE_ANDROID */
+ x = hpos, y = vpos;
+#endif /* !HAVE_ANDROID */
term->cursor_to_hook (f, y, x);
}
}
if (term->raw_cursor_to_hook)
{
int x, y;
+#ifndef HAVE_ANDROID
root_xy (f, col, row, &x, &y);
+#else /* HAVE_ANDROID */
+ x = col, y = row;
+#endif /* !HAVE_ANDROID */
term->raw_cursor_to_hook (f, y, x);
}
}