]> git.eshelyaron.com Git - emacs.git/commit
src/frame.c (do_switch_frame): Fix bug#58343
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 12 Oct 2022 21:06:33 +0000 (17:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 12 Oct 2022 21:06:33 +0000 (17:06 -0400)
commitda752c04664c0e22a2f6b4a41dfa1fed4d5276ff
tree927f868b9b1d5bc1be370e3195082503fc3d83e7
parent5a94a2e5b054f6866762f6eb7f7bbafd24bf02de
src/frame.c (do_switch_frame): Fix bug#58343

* src/frame.c (do_switch_frame): Move call to `get-mru-window` outside
of the "critical region" where (selected-window) != (frame-selected-window).
* src/minibuf.c (move_minibuffers_onto_frame): Add arg `frame`.
Use it instead of `selected_frame`.  Adjust all callers.
* src/lisp.h (move_minibuffers_onto_frame): Adjust declaration.
src/frame.c
src/lisp.h
src/minibuf.c