# HG changeset patch # User Jim Blandy # Date 713628356 0 # Node ID eb74884fc95a831ac8b1c79c6061854d7dd4ac94 # Parent 0eb68c6c452ae80d9a1bc542f4794635a5cd2498 * keyboard.c (Fsuspend_emacs): Call change_frame_size with the proper arguments - the height and width are the second and third arguments, not the first and second. Pass 0 for DELAY. * keyboard.c (FRAME_IS_TERMCAP, FRAME_IS_X, FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P, and FRAME_HAS_MINIBUF_P, for consistency with the rest of the frame macros. diff -r 0eb68c6c452a -r eb74884fc95a src/keyboard.c --- a/src/keyboard.c Wed Aug 12 13:55:21 1992 +0000 +++ b/src/keyboard.c Wed Aug 12 14:05:56 1992 +0000 @@ -851,7 +851,7 @@ #if 0 #ifdef HAVE_X_WINDOWS - if (FRAME_IS_X (selected_frame)) + if (FRAME_X_P (selected_frame)) { if (i == -1) /* Mouse event */ { @@ -3210,7 +3210,7 @@ with a window system; but suspend should be disabled in that case. */ get_frame_size (&width, &height); if (width != old_width || height != old_height) - change_frame_size (height, width, 0); + change_frame_size (0, height, width, 0, 0); /* Call value of suspend-resume-hook if it is bound and value is non-nil. */ @@ -3313,7 +3313,7 @@ cancel_echoing (); - if (!NILP (Vquit_flag) && FRAME_IS_TERMCAP (selected_frame)) + if (!NILP (Vquit_flag) && FRAME_TERMCAP_P (selected_frame)) { fflush (stdout); reset_sys_modes ();