From: Kenichi Handa Date: Sat, 31 Oct 1998 05:12:07 +0000 (+0000) Subject: (do_switch_frame): Update minibuf_window if necessary. X-Git-Tag: emacs-20.4~1351 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33a2d2a074bbaf82e1883af3f79f4f3f3d170a55;p=emacs.git (do_switch_frame): Update minibuf_window if necessary. --- 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