summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2021-05-08 12:10:00 +0000
committerAlan Mackenzie <acm@muc.de>2021-05-08 12:13:57 +0000
commitf608b4b93c061e10603551a7d189637f49d90a62 (patch)
treea939b2842abe9e6805d1acfe5c697ad8a8b621f1 /lisp/emacs-lisp
parentfdeb1a3dc77ccac28e6cf91b9cc4aa43f3060e7a (diff)
downloademacs-f608b4b93c061e10603551a7d189637f49d90a62.tar.gz
emacs-f608b4b93c061e10603551a7d189637f49d90a62.tar.bz2
emacs-f608b4b93c061e10603551a7d189637f49d90a62.zip
Prevent the selected window being a dead mini-window when switching frames
This fixes bug #48249 and also a situation where, with recursive minibuffers enabled and minibuffer-follows-selected-frame t, switching frames when a minibuffer was open would leave the mini-window selected on the old frame. * lisp/window.el (record-window-buffer): Add extra parameter DO-MINIBUF, and amend the code such that minibuffers only get processed when that parameter is non-nil. * src/minibuf.c (zip_minibuffer_stacks, read_minibuf): Call Qrecord_window_buffer with the new argument set to Qt. (move_minibuffers_onto_frame): Set the selected window on the old frame when this would otherwise remain the mini-window.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions