]> git.eshelyaron.com Git - emacs.git/commit
Prevent focus "stalemates" on Android
authorPo Lu <luangruo@yahoo.com>
Tue, 26 Mar 2024 02:54:39 +0000 (10:54 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Mar 2024 20:38:46 +0000 (21:38 +0100)
commit3dbc62ded403ede190774646dec7137d6ba07bf1
treeeeb19f307db10683057ded62330327ba59ed8a75
parent173b29f779693445b6e688c22f4c5dbe7d514a66
Prevent focus "stalemates" on Android

* java/org/gnu/emacs/EmacsActivity.java (invalidateFocus1): New
argument resetWhenChildless.
(invalidateFocus): If a toplevel window has no focus window,
transfer focus to the toplevel itself.

(cherry picked from commit b7b9a0a5c1afae07b8168e85dcf1fc37d29e98ef)
java/org/gnu/emacs/EmacsActivity.java