]> git.eshelyaron.com Git - emacs.git/commit
Update Android port
authorPo Lu <luangruo@yahoo.com>
Fri, 3 Mar 2023 07:23:21 +0000 (15:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 3 Mar 2023 07:23:21 +0000 (15:23 +0800)
commitbc9239eb51b1a346dac8a7f0f20b857143114bae
tree550fe2442699c940ba9a055430640c9cbd849522
parentbf93380c1c9a319840f89106ff6b9492faf923b4
Update Android port

* java/org/gnu/emacs/EmacsActivity.java (EmacsActivity)
(onCreate): Add view tree observer.
(onGlobalLayout): Sync fullscreen state.
(syncFullscreenWith): Improve visibility flag setting.

* src/textconv.c (select_window): New function.
(textconv_query):
(restore_selected_window):
(really_commit_text):
(really_set_composing_text):
(really_set_composing_region):
(really_delete_surrounding_text):
(really_set_point_and_mark):
(get_extracted_text): Call it instead of Fselect_window
to avoid selecting the mini window if it is no longer active.
java/org/gnu/emacs/EmacsActivity.java
src/textconv.c