# HG changeset patch # User Richard M. Stallman # Date 767176454 0 # Node ID 4751ee5f263e45deed7bd6250d837f753dd974a8 # Parent 5b975a51928fe567bca87978fc69e8999ddd9a65 (Fselect_window): Use Fselect_frame. diff -r 5b975a51928f -r 4751ee5f263e src/window.c --- a/src/window.c Sun Apr 24 08:33:40 1994 +0000 +++ b/src/window.c Sun Apr 24 08:34:14 1994 +0000 @@ -1668,7 +1668,11 @@ if (XFRAME (WINDOW_FRAME (w)) != selected_frame) { XFRAME (WINDOW_FRAME (w))->selected_window = window; - Fhandle_switch_frame (WINDOW_FRAME (w), Qnil); + /* Use this rather than Fhandle_switch_frame + so that FRAME_FOCUS_FRAME is moved appropriately as we + move around in the state where a minibuffer in a separate + frame is active. */ + Fselect_frame (WINDOW_FRAME (w), Qnil); } else selected_frame->selected_window = window;