# HG changeset patch # User Karl Heuer # Date 777624946 0 # Node ID c78654909acf6d4db298c055e3aec80f5d3e05de # Parent f9d1fe1ed6ecf6e53775d09579c6317c3e5d123e (Fmake_frame_invisible, Ficonify_frame): Don't switch frames. diff -r f9d1fe1ed6ec -r c78654909acf src/frame.c --- 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))