Mercurial > emacs
diff src/window.c @ 7080:4751ee5f263e
(Fselect_window): Use Fselect_frame.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 24 Apr 1994 08:34:14 +0000 |
| parents | 0a18af7eb587 |
| children | 3a677a303d5b |
line wrap: on
line diff
--- 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;
