summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2024-04-03 20:29:10 +0800
committerPo Lu <luangruo@yahoo.com>2024-04-03 20:31:22 +0800
commit7df66b4762ff51e394b8db03dfffe888bdba0a67 (patch)
treec576b857afa236b95964cb28988b4aa2c3cabcc6 /lisp/emacs-lisp/comp-cstr.el
parentfa9791fe6af2bbedf1f5bb3e7dd8879a0191ebf1 (diff)
downloademacs-7df66b4762ff51e394b8db03dfffe888bdba0a67.tar.gz
emacs-7df66b4762ff51e394b8db03dfffe888bdba0a67.tar.bz2
emacs-7df66b4762ff51e394b8db03dfffe888bdba0a67.zip
Better align Emacs window management with Android task lifecycles
* java/org/gnu/emacs/EmacsActivity.java (onCreate): Permit overriding by child classes. (onDestroy): Minor stylistic adjustments. (getAttachmentToken): New function. * java/org/gnu/emacs/EmacsMultitaskActivity.java (onCreate) (getAttachmentToken): New functions. * java/org/gnu/emacs/EmacsWindow.java (EmacsWindow): <attachmentToken, preserve, previouslyAttached>: New variables. (onActivityDetached): Remove redundant isFinishing argument. (reparentTo): Reset the foregoing fields before registering with the window manager. * java/org/gnu/emacs/EmacsWindowManager.java (EmacsWindowManager): Rename from EmacsWindowAttachmentManager. (WindowConsumer): New function getAttachmentToken. (isWindowEligible): New function. (registerWindowConsumer, registerWindow, removeWindowConsumer) (detachWindow): Implement a new window management strategy on API 29 and subsequent releases where both varieties of toplevel window are permanently, except when reparented, bound to the activities to which they attach, and Emacs establishes at strategic junctures whether those activities remain present. (getTaskToken, pruneWindows): New functions.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions