]> git.eshelyaron.com Git - emacs.git/commit
Fix wrong handling of minibuffers when frames get iconified/made invisible
authorAlan Mackenzie <acm@muc.de>
Thu, 6 May 2021 10:48:14 +0000 (10:48 +0000)
committerAlan Mackenzie <acm@muc.de>
Thu, 6 May 2021 10:48:14 +0000 (10:48 +0000)
commitc873d16af61ae9b956c6dd6d9e50ebad2bb7666e
treeaf1641eab3b416ccd8c6ce00d645fb9ad9399ea6
parent9e0fc5321b6be3b9242f2668a37a95057b4d1e0b
Fix wrong handling of minibuffers when frames get iconified/made invisible

This should fix bug #47766.

* lisp/window.el (window-deletable-p): Add a quote where it was missing from
minibuffer-follows-selected-frame.

* src/frame.c (check_minibuf_window): Delete the function.
(delete_frame): In place of calling check_minibuf_window, call
move_minibuffers_onto_frame, possibly to move minibuffers onto the new current
frame.
(Fmake_frame_invisible, Ficonify_frame): Remove calls to check_minibuf_window.

* src/minibuf.c (Factive_minibuffer_window): Search the frames for the active
minibuffer rather than just assuming minibuf_window has been correctly
updated.
lisp/window.el
src/frame.c
src/minibuf.c