# HG changeset patch # User Kenichi Handa # Date 909810727 0 # Node ID 118a5f3c79ded28ef9893809f4c526af3030f169 # Parent fda73fa21974ad69f18269b15ff8ec55d9f05ce0 (do_switch_frame): Update minibuf_window if necessary. diff -r fda73fa21974 -r 118a5f3c79de src/frame.c --- a/src/frame.c Sat Oct 31 05:12:07 1998 +0000 +++ b/src/frame.c Sat Oct 31 05:12:07 1998 +0000 @@ -632,6 +632,10 @@ 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