From: Richard M. Stallman Date: Sun, 24 Apr 1994 08:34:14 +0000 (+0000) Subject: (Fselect_window): Use Fselect_frame. X-Git-Tag: emacs-19.34~8773 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=147a661590391d5afc3f94c55ce2d3bd06251fc7;p=emacs.git (Fselect_window): Use Fselect_frame. --- diff --git a/src/window.c b/src/window.c index a73ad3fce82..b33f3139a1c 100644 --- a/src/window.c +++ b/src/window.c @@ -1668,7 +1668,11 @@ before each command.") 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;