[comp.emacs] X11 emacs patch patch

weltyc@nisc.nyser.net (Christopher A. Welty) (04/06/88)

	If you apply the patches I just sent out to the 18.50 source,
and then apply the following patch (from John Robinson at BBN) to the
file dispnew.c, emacs will work beautifully with X11.

----------
*** dispnew.c.bug	Mon Apr  4 09:42:41 1988
--- dispnew.c	Mon Apr  4 15:49:46 1988
***************
*** 136,146 ****
  
  /* Set if we are currently in an update_screen */
  
! int in_update_screen = 0;
  
  /* Set if change_screen_size was called while in update_screen */
  
! int change_screen_size_update = 0;
  
  /* Allocate as many display_line structures
     as we are ever supposed to need.
--- 136,146 ----
  
  /* Set if we are currently in an update_screen */
  
! int in_update_screen;
  
  /* Set if change_screen_size was called while in update_screen */
  
! int change_screen_size_update;
  
  /* Allocate as many display_line structures
     as we are ever supposed to need.
***************
*** 1329,1334 ****
--- 1329,1337 ----
    inverse_video = 0;
    cursor_in_echo_area = 0;
    terminal_type = (char *) 0;
+   in_update_screen = 0;
+   change_screen_size_update = 0;
+ 
  
    if (!inhibit_window_system)
      {




Christopher Welty  ---  Asst. Director, RPI CS Labs
weltyc@cs.rpi.edu       ...!rutgers!nysernic!weltyc