diff options
| author | Po Lu | 2025-12-23 10:39:45 +0800 |
|---|---|---|
| committer | Po Lu | 2025-12-23 10:39:45 +0800 |
| commit | b0140bcd44326632538dc377dd336b82a1df4dd9 (patch) | |
| tree | dab1a81e3369797347d317b9fd11b033fe5e3aba /src/androidterm.h | |
| parent | 22070c6f2f2cf31861642295ec215a177741c361 (diff) | |
| download | emacs-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.h | 1 |
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 | ||
| 405 | extern void android_term_init (void); | 405 | extern void android_term_init (void); |
| 406 | extern void android_set_window_size (struct frame *, bool, int, int); | 406 | extern void android_set_window_size (struct frame *, bool, int, int); |
| 407 | extern void android_set_window_size_and_position (struct frame *, int, int); | ||
| 407 | extern void android_iconify_frame (struct frame *); | 408 | extern void android_iconify_frame (struct frame *); |
| 408 | extern void android_make_frame_visible (struct frame *); | 409 | extern void android_make_frame_visible (struct frame *); |
| 409 | extern void android_make_frame_invisible (struct frame *); | 410 | extern void android_make_frame_invisible (struct frame *); |