aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidterm.h
diff options
context:
space:
mode:
authorPo Lu2025-12-23 10:39:45 +0800
committerPo Lu2025-12-23 10:39:45 +0800
commitb0140bcd44326632538dc377dd336b82a1df4dd9 (patch)
treedab1a81e3369797347d317b9fd11b033fe5e3aba /src/androidterm.h
parent22070c6f2f2cf31861642295ec215a177741c361 (diff)
downloademacs-b0140bcd44326632538dc377dd336b82a1df4dd9.tar.gz
emacs-b0140bcd44326632538dc377dd336b82a1df4dd9.zip
Implement set_window_size_and_position_hook on Android
* java/org/gnu/emacs/EmacsWindow.java (moveResizeWindow): New method, which alters all of the bounding box of a window at once. * src/android.c (android_init_emacs_window): Load method `move_resize_window'. (android_move_resize_window): Invoke this method, rather than a sequence of operations that will produce two ConfigureNotify events. * src/androidterm.c (android_set_window_size_and_position_1) (android_set_window_size_and_position): New functions; ported from X. (android_create_terminal): Register the same.
Diffstat (limited to 'src/androidterm.h')
-rw-r--r--src/androidterm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/androidterm.h b/src/androidterm.h
index e9e8d594169..10806ce39bf 100644
--- a/src/androidterm.h
+++ b/src/androidterm.h
@@ -404,6 +404,7 @@ extern void android_set_preeditarea (struct window *, int, int);
404 404
405extern void android_term_init (void); 405extern void android_term_init (void);
406extern void android_set_window_size (struct frame *, bool, int, int); 406extern void android_set_window_size (struct frame *, bool, int, int);
407extern void android_set_window_size_and_position (struct frame *, int, int);
407extern void android_iconify_frame (struct frame *); 408extern void android_iconify_frame (struct frame *);
408extern void android_make_frame_visible (struct frame *); 409extern void android_make_frame_visible (struct frame *);
409extern void android_make_frame_invisible (struct frame *); 410extern void android_make_frame_invisible (struct frame *);