* dispnew.c (Fredraw_frame): Call clear_frame_records before
authorJim Blandy <jimb@redhat.com>
Wed, 12 Aug 1992 13:36:49 +0000 (13:36 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 12 Aug 1992 13:36:49 +0000 (13:36 +0000)
commitb6a65ac2ae273be2d0c672025354d285fd559e80
tree92a98b9bf17a2fb9e944c245450c8427c10f1733
parent63639d4409f53b229b9f0a397e42f3515c6d2023
* dispnew.c (Fredraw_frame): Call clear_frame_records before
calling update_end, so that x_display_box_cursor can rely on the
contents of f->current_glyphs.

* dispnew.c (change_frame_size): Call check_frame_size here,
rather than writing out its code.  Don't declare newheight and
newwidth to be register variables, since we take their address.

* dispnew.c (in_display): Variable deleted; it's only ever used as
an unofficial parameter to change_frame_size.
(change_frame_size): New argument, DELAY, which when non-zero
indicates to delay the size change until later.  This should be
passed as one from signal handlers.
(window_change_signal): Call change_frame_size with a DELAY of 1.
(do_pending_window_change): Call change_frame_size with DELAY of 0.

* dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c,
window.c, xdisp.c, xfns.c xterm.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.
src/dispnew.c