]> git.eshelyaron.com Git - emacs.git/commit
Implement frame restacking under Android
authorPo Lu <luangruo@yahoo.com>
Tue, 10 Oct 2023 05:11:14 +0000 (13:11 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 10 Oct 2023 05:11:14 +0000 (13:11 +0800)
commit336c3674119f61bd78a056476769ce83b97230bb
tree0af3b8f39dabdf71849c30fe0bf67952305b9319
parent238292d6571402e93d4f7886baac9853011b36f6
Implement frame restacking under Android

* java/org/gnu/emacs/EmacsActivity.java (invalidateFocus1):
Synchronize with window.children for iteration through it.

* java/org/gnu/emacs/EmacsService.java (queryTree): Synchronize
with windowList for iteration through it.

* java/org/gnu/emacs/EmacsView.java (moveChildToBack): Correct
formatting mistake.
(moveAbove, moveBelow): New functions.

* java/org/gnu/emacs/EmacsWindow.java (destroyHandle, reparentTo)
(raise, lower): Remedy synchronization blunders.
(reconfigure): New function.

* src/android.c (android_init_emacs_window): Link with
`reconfigure'.
(android_reconfigure_wm_window): New wrapper function.

* src/androidfns.c (android_frame_restack): New function.
(Fandroid_frame_restack): Properly implement this function and
expunge outdated comment.

* src/androidgui.h (enum android_stack_mode)
(enum android_window_changes): New enumerators.
java/org/gnu/emacs/EmacsActivity.java
java/org/gnu/emacs/EmacsService.java
java/org/gnu/emacs/EmacsView.java
java/org/gnu/emacs/EmacsWindow.java
src/android.c
src/androidfns.c
src/androidgui.h