• Jim Blandy's avatar
    * dispnew.c (Fredraw_frame): Call clear_frame_records before · b6a65ac2
    Jim Blandy authored
    	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.
    b6a65ac2
dispnew.c 57.4 KB