mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 23:10:28 -08:00
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.
This commit is contained in:
parent
3608c1399f
commit
42c0603c7a
3 changed files with 20 additions and 8 deletions
|
|
@ -1322,10 +1322,6 @@ public final class EmacsWindow extends EmacsHandleObject
|
|||
manager = EmacsWindowManager.MANAGER;
|
||||
manager.detachWindow (EmacsWindow.this);
|
||||
|
||||
/* Reset window management state. */
|
||||
previouslyAttached = false;
|
||||
attachmentToken = 0;
|
||||
|
||||
/* Also unparent this view. */
|
||||
|
||||
/* If the window manager is set, use that instead. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue