Fix `delete-frame' behavior including Bug#26682
commit0943cc18b18e2df90c7aa0fbc4dab72d418aa700
authorMartin Rudalics <rudalics@gmx.at>
Sun, 30 Apr 2017 08:02:53 +0000 (30 10:02 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 30 Apr 2017 08:02:53 +0000 (30 10:02 +0200)
tree5cc55eb8a9da33426e488b3f8a413185d60ec187
parent7e4dae99d619315179a90461b42ae8d734c5bb45
Fix `delete-frame' behavior including Bug#26682

* src/frame.c (other_frames): Accept two arguments now.  Don't
care about minibuffer window.  Don't care about visibility when
called from delete_frame with FORCE true (Bug#26682).
(delete_frame, Fmake_frame_invisible): Adjust other_frames
calls.
* src/w32term.c (w32_read_socket): Don't add a move frame event
for an invisible frame.
* lisp/frame.el (handle-delete-frame): Don't kill Emacs when
attempting to delete a surrogate minibuffer frame.
lisp/frame.el
src/frame.c
src/w32term.c