From 33a2d2a074bbaf82e1883af3f79f4f3f3d170a55 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 31 Oct 1998 05:12:07 +0000 Subject: [PATCH] (do_switch_frame): Update minibuf_window if necessary. --- src/frame.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frame.c b/src/frame.c index 64b146ce0b4..5ae2219f49d 100644 --- a/src/frame.c +++ b/src/frame.c @@ -632,6 +632,10 @@ do_switch_frame (frame, no_enter, track) Fselect_window (XFRAME (frame)->selected_window); + if (! FRAME_MINIBUF_ONLY_P (selected_frame) + && FRAME_HAS_MINIBUF_P (selected_frame)) + minibuf_window = selected_frame->minibuffer_window; + /* We want to make sure that the next event generates a frame-switch event to the appropriate frame. This seems kludgy to me, but before you take it out, make sure that evaluating something like -- 2.39.2