]> git.eshelyaron.com Git - emacs.git/commit
Avoid destroying windows after they are unmapped
authorPo Lu <luangruo@yahoo.com>
Thu, 4 Apr 2024 01:53:07 +0000 (09:53 +0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 4 Apr 2024 11:40:24 +0000 (13:40 +0200)
commit4a2f022e97257f1e6ce3207c0bb0383b2ee56885
treebf3b316e4b73d0eb3ae8fdf57ef956176d1c4242
parentc7e30f699f724cd35d915119bd792d18f8987f1c
Avoid destroying windows after they are unmapped

* java/org/gnu/emacs/EmacsActivity.java (destroy): Detach from
current window before calling finish.

* java/org/gnu/emacs/EmacsWindow.java (reparentTo): Don't clear
attachment state here...

* java/org/gnu/emacs/EmacsWindowManager.java (detachWindow):
...but do so here instead.

(cherry picked from commit 42c0603c7aab191c9cc15a7eca1253060ff5b71a)
java/org/gnu/emacs/EmacsActivity.java
java/org/gnu/emacs/EmacsWindow.java
java/org/gnu/emacs/EmacsWindowManager.java