diff --git a/src/dispnew.c b/src/dispnew.c index f628415359c..2e95016b5f3 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3903,6 +3903,8 @@ is_cursor_obscured (void) return cursor_glyph->frame != SELECTED_FRAME (); } +#ifndef HAVE_ANDROID + /* Decide where to show the cursor, and whether to hide it. This works very well for Vertico-Posframe, Transient-Posframe and @@ -3942,9 +3944,12 @@ terminal_cursor_magic (struct frame *root, struct frame *topmost_child) } } +#endif /* !HAVE_ANDROID */ + void combine_updates_for_frame (struct frame *f, bool inhibit_scrolling) { +#ifndef HAVE_ANDROID struct frame *root = root_frame (f); eassert (FRAME_VISIBLE_P (root)); @@ -3981,6 +3986,7 @@ combine_updates_for_frame (struct frame *f, bool inhibit_scrolling) add_frame_display_history (f, false); #endif } +#endif /* HAVE_ANDROID */ } /* Update on the screen all root frames ROOTS. Called from diff --git a/src/frame.c b/src/frame.c index 547ad0da962..5518201fca7 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1442,6 +1442,8 @@ tty_child_size_param (struct frame *child, Lisp_Object key, return dflt; } +#ifndef HAVE_ANDROID + static void tty_child_frame_rect (struct frame *f, Lisp_Object params, int *x, int *y, int *w, int *h) @@ -1452,6 +1454,8 @@ tty_child_frame_rect (struct frame *f, Lisp_Object params, *h = tty_child_size_param (f, Qheight, params, FRAME_TOTAL_LINES (f)); } +#endif /* !HAVE_ANDROID */ + DEFUN ("make-terminal-frame", Fmake_terminal_frame, Smake_terminal_frame, 1, 1, 0, doc: /* Create an additional terminal frame, possibly on another terminal.