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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user