Mercurial > emacs
changeset 8586:c78654909acf
(Fmake_frame_invisible, Ficonify_frame): Don't switch frames.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 23 Aug 1994 06:55:46 +0000 |
parents | f9d1fe1ed6ec |
children | 792839acdc92 |
files | src/frame.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Tue Aug 23 06:04:59 1994 +0000 +++ b/src/frame.c Tue Aug 23 06:55:46 1994 +0000 @@ -1112,9 +1112,11 @@ if (NILP (force) && !other_visible_frames (XFRAME (frame))) error ("Attempt to make invisible the sole visible or iconified frame"); +#if 0 /* This isn't logically necessary, and it can do GC. */ /* Don't let the frame remain selected. */ if (XFRAME (frame) == selected_frame) Fhandle_switch_frame (next_frame (frame, Qt), Qnil); +#endif /* Don't allow minibuf_window to remain on a deleted frame. */ if (EQ (XFRAME (frame)->minibuffer_window, minibuf_window)) @@ -1148,9 +1150,11 @@ CHECK_LIVE_FRAME (frame, 0); +#if 0 /* This isn't logically necessary, and it can do GC. */ /* Don't let the frame remain selected. */ if (XFRAME (frame) == selected_frame) Fhandle_switch_frame (next_frame (frame, Qt), Qnil); +#endif /* Don't allow minibuf_window to remain on a deleted frame. */ if (EQ (XFRAME (frame)->minibuffer_window, minibuf_window))